https://launchpad.net/ubuntu/+archive/test-rebuild-20240502-noble/+build/28273436 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos03-riscv64-110 6.5.0-28-generic #29.1~22.04.1-Ubuntu SMP Wed Apr 10 02:20:48 UTC 2024 riscv64 Buildd toolchain package versions: launchpad-buildd_237~660~ubuntu22.04.1 python3-lpbuildd_237~660~ubuntu22.04.1 sbuild_0.81.2ubuntu6 git-build-recipe_0.3.6 git_1:2.34.1-1ubuntu1.10 dpkg-dev_1.21.1ubuntu2.3 python3-debian_0.1.43ubuntu1.1. Syncing the system clock with the buildd NTP service... 15 May 06:03:36 ntpdate[2241]: adjust time server 10.211.37.1 offset +0.000401 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-28273436 --image-type chroot /home/buildd/filecache-default/20a3246b7a16d5658607d7f37229fcda30a33651 Creating target for build PACKAGEBUILD-28273436 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-28273436 Starting target for build PACKAGEBUILD-28273436 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-28273436 'deb http://ftpmaster.internal/ubuntu noble main universe' Overriding sources.list in build-PACKAGEBUILD-28273436 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-28273436 Updating target for build PACKAGEBUILD-28273436 Get:1 http://ftpmaster.internal/ubuntu noble InRelease [256 kB] Get:2 http://ftpmaster.internal/ubuntu noble/main riscv64 Packages [1318 kB] Get:3 http://ftpmaster.internal/ubuntu noble/main Translation-en [513 kB] Get:4 http://ftpmaster.internal/ubuntu noble/universe riscv64 Packages [14.3 MB] Get:5 http://ftpmaster.internal/ubuntu noble/universe Translation-en [5982 kB] Fetched 22.4 MB in 28s (796 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libnsl-dev libperl5.36 libtirpc-dev libunistring2 perl-modules-5.36 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libapt-pkg6.0* libdb5.3* libext2fs2* libgdbm-compat4* libgdbm6* libgnutls30* libhogweed6* libnettle8* libnpth0* libpng16-16* libreadline8* libssl3* libtirpc3* usrmerge* The following NEW packages will be installed: cpp-13-riscv64-linux-gnu cpp-riscv64-linux-gnu g++-13-riscv64-linux-gnu g++-riscv64-linux-gnu gcc-13-riscv64-linux-gnu gcc-14-base gcc-riscv64-linux-gnu libapt-pkg6.0t64 libdb5.3t64 libext2fs2t64 libgdbm-compat4t64 libgdbm6t64 libgnutls30t64 libhogweed6t64 libnettle8t64 libnpth0t64 libperl5.38t64 libpng16-16t64 libreadline8t64 libssl3t64 libtirpc3t64 libubsan1 libunistring5 perl-modules-5.38 The following packages will be upgraded: advancecomp apt apt-utils base-files base-passwd bash bash-completion binutils binutils-common binutils-riscv64-linux-gnu bsdextrautils bsdutils bzip2 ca-certificates coreutils cpp cpp-13 dash debconf debconf-i18n debianutils diffutils dpkg dpkg-dev e2fsprogs fakeroot findutils g++ g++-13 gcc gcc-13 gcc-13-base gpg gpg-agent gpgconf gpgv grep gzip hostname init init-system-helpers krb5-locales libacl1 libapparmor1 libargon2-1 libasan8 libassuan0 libatomic1 libattr1 libaudit-common libaudit1 libbinutils libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcap2 libcc1-0 libcom-err2 libcrypt-dev libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libfakeroot libfdisk1 libffi8 libgcc-13-dev libgcc-s1 libgcrypt20 libgmp10 libgomp1 libgpg-error-l10n libgpg-error0 libgpm2 libgssapi-krb5-2 libidn2-0 libip4tc2 libisl23 libjansson4 libjson-c5 libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl liblockfile-bin liblockfile1 liblz4-1 liblzma5 libmd0 libmount1 libmpc3 libmpfr6 libncursesw6 libnsl-dev libnsl2 libnss-nis libnss-nisplus libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libproc2-0 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsepol2 libsframe1 libsmartcols1 libsqlite3-0 libss2 libstdc++-13-dev libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtinfo6 libtirpc-common libtirpc-dev libudev1 libuuid1 libxxhash0 libzstd1 linux-libc-dev lockfile-progs login logsave lto-disabled-list make mawk mount ncurses-base ncurses-bin openssl optipng passwd patch perl perl-base pinentry-curses procps psmisc readline-common rpcsvc-proto sed sensible-utils systemd systemd-dev systemd-sysv sysvinit-utils tar tzdata ubuntu-keyring util-linux uuid-runtime xz-utils zlib1g 170 upgraded, 24 newly installed, 14 to remove and 0 not upgraded. Need to get 115 MB of archives. After this operation, 71.2 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu noble/main riscv64 libtirpc-common all 1.3.4+ds-1.1build1 [8094 B] Get:2 http://ftpmaster.internal/ubuntu noble/main riscv64 libtirpc-dev riscv64 1.3.4+ds-1.1build1 [350 kB] Get:3 http://ftpmaster.internal/ubuntu noble/main riscv64 libnsl-dev riscv64 1.3.0-3build3 [137 kB] Get:4 http://ftpmaster.internal/ubuntu noble/main riscv64 libnsl2 riscv64 1.3.0-3build3 [43.3 kB] Get:5 http://ftpmaster.internal/ubuntu noble/main riscv64 libtirpc3t64 riscv64 1.3.4+ds-1.1build1 [92.3 kB] Get:6 http://ftpmaster.internal/ubuntu noble/main riscv64 libgssapi-krb5-2 riscv64 1.20.1-6ubuntu2 [153 kB] Get:7 http://ftpmaster.internal/ubuntu noble/main riscv64 libkrb5-3 riscv64 1.20.1-6ubuntu2 [385 kB] Get:8 http://ftpmaster.internal/ubuntu noble/main riscv64 libk5crypto3 riscv64 1.20.1-6ubuntu2 [108 kB] Get:9 http://ftpmaster.internal/ubuntu noble/main riscv64 libkrb5support0 riscv64 1.20.1-6ubuntu2 [36.7 kB] Get:10 http://ftpmaster.internal/ubuntu noble/main riscv64 libacl1 riscv64 2.3.2-1build1 [18.7 kB] Get:11 http://ftpmaster.internal/ubuntu noble/main riscv64 libapparmor1 riscv64 4.0.0-beta3-0ubuntu3 [51.2 kB] Get:12 http://ftpmaster.internal/ubuntu noble/main riscv64 libaudit-common all 1:3.1.2-2.1build1 [5736 B] Get:13 http://ftpmaster.internal/ubuntu noble/main riscv64 libcap-ng0 riscv64 0.8.4-2build2 [15.5 kB] Get:14 http://ftpmaster.internal/ubuntu noble/main riscv64 libaudit1 riscv64 1:3.1.2-2.1build1 [47.9 kB] Get:15 http://ftpmaster.internal/ubuntu noble/main riscv64 libblkid1 riscv64 2.39.3-9ubuntu6 [204 kB] Get:16 http://ftpmaster.internal/ubuntu noble/main riscv64 libcap2 riscv64 1:2.66-5ubuntu2 [31.8 kB] Get:17 http://ftpmaster.internal/ubuntu noble/main riscv64 libcrypt-dev riscv64 1:4.4.36-4build1 [250 kB] Get:18 http://ftpmaster.internal/ubuntu noble/main riscv64 libcrypt1 riscv64 1:4.4.36-4build1 [102 kB] Get:19 http://ftpmaster.internal/ubuntu noble/main riscv64 libgpg-error-l10n all 1.47-3build2 [8064 B] Get:20 http://ftpmaster.internal/ubuntu noble/main riscv64 libgpg-error0 riscv64 1.47-3build2 [75.8 kB] Get:21 http://ftpmaster.internal/ubuntu noble/main riscv64 libgcrypt20 riscv64 1.10.3-2build1 [564 kB] Get:22 http://ftpmaster.internal/ubuntu noble/main riscv64 liblzma5 riscv64 5.6.1+really5.4.5-1 [130 kB] Get:23 http://ftpmaster.internal/ubuntu noble/main riscv64 libzstd1 riscv64 1.5.5+dfsg2-2build1 [353 kB] Get:24 http://ftpmaster.internal/ubuntu noble/main riscv64 libkmod2 riscv64 31+20240202-2ubuntu7 [55.1 kB] Get:25 http://ftpmaster.internal/ubuntu noble/main riscv64 liblz4-1 riscv64 1.9.4-1build1 [85.7 kB] Get:26 http://ftpmaster.internal/ubuntu noble/main riscv64 libpcre2-8-0 riscv64 10.42-4ubuntu2 [152 kB] Get:27 http://ftpmaster.internal/ubuntu noble/main riscv64 libselinux1 riscv64 3.5-2ubuntu2 [86.1 kB] Get:28 http://ftpmaster.internal/ubuntu noble/main riscv64 libmount1 riscv64 2.39.3-9ubuntu6 [212 kB] Get:29 http://ftpmaster.internal/ubuntu noble/main riscv64 perl-modules-5.38 all 5.38.2-3.2build2 [3110 kB] Get:30 http://ftpmaster.internal/ubuntu noble/main riscv64 libdb5.3t64 riscv64 5.3.28+dfsg2-7 [779 kB] Get:31 http://ftpmaster.internal/ubuntu noble/main riscv64 libgdbm6t64 riscv64 1.23-5.1build1 [35.9 kB] Get:32 http://ftpmaster.internal/ubuntu noble/main riscv64 libgdbm-compat4t64 riscv64 1.23-5.1build1 [6884 B] Get:33 http://ftpmaster.internal/ubuntu noble/main riscv64 libperl5.38t64 riscv64 5.38.2-3.2build2 [4469 kB] Get:34 http://ftpmaster.internal/ubuntu noble/main riscv64 perl riscv64 5.38.2-3.2build2 [231 kB] Get:35 http://ftpmaster.internal/ubuntu noble/main riscv64 perl-base riscv64 5.38.2-3.2build2 [1834 kB] Get:36 http://ftpmaster.internal/ubuntu noble/main riscv64 liblocale-gettext-perl riscv64 1.07-6ubuntu5 [15.7 kB] Get:37 http://ftpmaster.internal/ubuntu noble/main riscv64 libtext-iconv-perl riscv64 1.7-8build3 [13.5 kB] Get:38 http://ftpmaster.internal/ubuntu noble/main riscv64 libtext-charwidth-perl riscv64 0.04-11build3 [9272 B] Get:39 http://ftpmaster.internal/ubuntu noble/main riscv64 openssl riscv64 3.0.13-0ubuntu3 [992 kB] Get:40 http://ftpmaster.internal/ubuntu noble/main riscv64 libsystemd-shared riscv64 255.4-1ubuntu8 [2181 kB] Get:41 http://ftpmaster.internal/ubuntu noble/main riscv64 libcryptsetup12 riscv64 2:2.7.0-1ubuntu4 [274 kB] Get:42 http://ftpmaster.internal/ubuntu noble/main riscv64 libssl3t64 riscv64 3.0.13-0ubuntu3 [1735 kB] Get:43 http://ftpmaster.internal/ubuntu noble/main riscv64 systemd-dev all 255.4-1ubuntu8 [104 kB] Get:44 http://ftpmaster.internal/ubuntu noble/main riscv64 systemd-sysv riscv64 255.4-1ubuntu8 [11.9 kB] Get:45 http://ftpmaster.internal/ubuntu noble/main riscv64 systemd riscv64 255.4-1ubuntu8 [3553 kB] Get:46 http://ftpmaster.internal/ubuntu noble/main riscv64 libsystemd0 riscv64 255.4-1ubuntu8 [458 kB] Get:47 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam-modules-bin riscv64 1.5.3-5ubuntu5 [55.0 kB] Get:48 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam-modules riscv64 1.5.3-5ubuntu5 [284 kB] Get:49 http://ftpmaster.internal/ubuntu noble/main riscv64 libnettle8t64 riscv64 3.9.1-2.2build1 [217 kB] Get:50 http://ftpmaster.internal/ubuntu noble/main riscv64 libhogweed6t64 riscv64 3.9.1-2.2build1 [200 kB] Get:51 http://ftpmaster.internal/ubuntu noble/main riscv64 libp11-kit0 riscv64 0.25.3-4ubuntu2 [318 kB] Get:52 http://ftpmaster.internal/ubuntu noble/main riscv64 libunistring5 riscv64 1.1-2build1 [542 kB] Get:53 http://ftpmaster.internal/ubuntu noble/main riscv64 libgnutls30t64 riscv64 3.8.3-1.1ubuntu3 [1012 kB] Get:54 http://ftpmaster.internal/ubuntu noble/main riscv64 libapt-pkg6.0t64 riscv64 2.7.14build2 [1050 kB] Get:55 http://ftpmaster.internal/ubuntu noble/main riscv64 bzip2 riscv64 1.0.8-5.1 [35.0 kB] Get:56 http://ftpmaster.internal/ubuntu noble/main riscv64 libbz2-1.0 riscv64 1.0.8-5.1 [40.2 kB] Get:57 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-14-base riscv64 14-20240412-0ubuntu1 [47.6 kB] Get:58 http://ftpmaster.internal/ubuntu noble/main riscv64 libgcc-s1 riscv64 14-20240412-0ubuntu1 [61.1 kB] Get:59 http://ftpmaster.internal/ubuntu noble/main riscv64 libstdc++6 riscv64 14-20240412-0ubuntu1 [806 kB] Get:60 http://ftpmaster.internal/ubuntu noble/main riscv64 libudev1 riscv64 255.4-1ubuntu8 [181 kB] Get:61 http://ftpmaster.internal/ubuntu noble/main riscv64 libxxhash0 riscv64 0.8.2-2build1 [45.5 kB] Get:62 http://ftpmaster.internal/ubuntu noble/main riscv64 zlib1g riscv64 1:1.3.dfsg-3.1ubuntu2 [60.8 kB] Get:63 http://ftpmaster.internal/ubuntu noble/main riscv64 libgmp10 riscv64 2:6.3.0+dfsg-2ubuntu6 [258 kB] Get:64 http://ftpmaster.internal/ubuntu noble/main riscv64 libffi8 riscv64 3.4.6-1build1 [23.1 kB] Get:65 http://ftpmaster.internal/ubuntu noble/main riscv64 libidn2-0 riscv64 2.3.7-2build1 [102 kB] Get:66 http://ftpmaster.internal/ubuntu noble/main riscv64 libtasn1-6 riscv64 4.19.0-3build1 [45.3 kB] Get:67 http://ftpmaster.internal/ubuntu noble/main riscv64 libdebconfclient0 riscv64 0.271ubuntu3 [11.2 kB] Get:68 http://ftpmaster.internal/ubuntu noble/main riscv64 base-passwd riscv64 3.6.3build1 [52.7 kB] Get:69 http://ftpmaster.internal/ubuntu noble/main riscv64 libassuan0 riscv64 2.5.6-1build1 [39.4 kB] Get:70 http://ftpmaster.internal/ubuntu noble/main riscv64 libsqlite3-0 riscv64 3.45.1-1ubuntu2 [739 kB] Get:71 http://ftpmaster.internal/ubuntu noble/main riscv64 gpg riscv64 2.4.4-2ubuntu17 [607 kB] Get:72 http://ftpmaster.internal/ubuntu noble/main riscv64 libreadline8t64 riscv64 8.2-4build1 [156 kB] Get:73 http://ftpmaster.internal/ubuntu noble/main riscv64 readline-common all 8.2-4build1 [56.5 kB] Get:74 http://ftpmaster.internal/ubuntu noble/main riscv64 libncursesw6 riscv64 6.4+20240113-1ubuntu2 [155 kB] Get:75 http://ftpmaster.internal/ubuntu noble/main riscv64 libtinfo6 riscv64 6.4+20240113-1ubuntu2 [109 kB] Get:76 http://ftpmaster.internal/ubuntu noble/main riscv64 gpg-agent riscv64 2.4.4-2ubuntu17 [282 kB] Get:77 http://ftpmaster.internal/ubuntu noble/main riscv64 gpgconf riscv64 2.4.4-2ubuntu17 [133 kB] Get:78 http://ftpmaster.internal/ubuntu noble/main riscv64 pinentry-curses riscv64 1.2.1-3ubuntu5 [40.6 kB] Get:79 http://ftpmaster.internal/ubuntu noble/main riscv64 init-system-helpers all 1.66ubuntu1 [39.4 kB] Get:80 http://ftpmaster.internal/ubuntu noble/main riscv64 libnpth0t64 riscv64 1.6-3.1build1 [8144 B] Get:81 http://ftpmaster.internal/ubuntu noble/main riscv64 gpgv riscv64 2.4.4-2ubuntu17 [276 kB] Get:82 http://ftpmaster.internal/ubuntu noble/main riscv64 ubuntu-keyring all 2023.11.28.1 [11.1 kB] Get:83 http://ftpmaster.internal/ubuntu noble/main riscv64 apt-utils riscv64 2.7.14build2 [226 kB] Get:84 http://ftpmaster.internal/ubuntu noble/main riscv64 apt riscv64 2.7.14build2 [1349 kB] Get:85 http://ftpmaster.internal/ubuntu noble/main riscv64 debconf-i18n all 1.5.86ubuntu1 [205 kB] Get:86 http://ftpmaster.internal/ubuntu noble/main riscv64 debconf all 1.5.86ubuntu1 [124 kB] Get:87 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam0g riscv64 1.5.3-5ubuntu5 [69.1 kB] Get:88 http://ftpmaster.internal/ubuntu noble/main riscv64 libseccomp2 riscv64 2.5.5-1ubuntu3 [52.9 kB] Get:89 http://ftpmaster.internal/ubuntu noble/main riscv64 libargon2-1 riscv64 0~20190702+dfsg-4build1 [25.0 kB] Get:90 http://ftpmaster.internal/ubuntu noble/main riscv64 libdevmapper1.02.1 riscv64 2:1.02.185-3ubuntu3 [145 kB] Get:91 http://ftpmaster.internal/ubuntu noble/main riscv64 libjson-c5 riscv64 0.17-1build1 [37.4 kB] Get:92 http://ftpmaster.internal/ubuntu noble/main riscv64 libuuid1 riscv64 2.39.3-9ubuntu6 [37.7 kB] Get:93 http://ftpmaster.internal/ubuntu noble/main riscv64 libfdisk1 riscv64 2.39.3-9ubuntu6 [238 kB] Get:94 http://ftpmaster.internal/ubuntu noble/main riscv64 mount riscv64 2.39.3-9ubuntu6 [152 kB] Get:95 http://ftpmaster.internal/ubuntu noble/main riscv64 libcom-err2 riscv64 1.47.0-2.4~exp1ubuntu4 [22.5 kB] Get:96 http://ftpmaster.internal/ubuntu noble/main riscv64 libkeyutils1 riscv64 1.6.3-3build1 [9804 B] Get:97 http://ftpmaster.internal/ubuntu noble/universe riscv64 libnss-nisplus riscv64 1.3-5build1 [23.8 kB] Get:98 http://ftpmaster.internal/ubuntu noble/universe riscv64 libnss-nis riscv64 3.1-0ubuntu7 [28.1 kB] Get:99 http://ftpmaster.internal/ubuntu noble/main riscv64 rpcsvc-proto riscv64 1.4.2-0ubuntu7 [65.8 kB] Get:100 http://ftpmaster.internal/ubuntu noble/main riscv64 libc6-dev riscv64 2.39-0ubuntu8 [3458 kB] Get:101 http://ftpmaster.internal/ubuntu noble/main riscv64 libc-dev-bin riscv64 2.39-0ubuntu8 [20.0 kB] Get:102 http://ftpmaster.internal/ubuntu noble/main riscv64 linux-libc-dev riscv64 6.8.0-31.31 [1568 kB] Get:103 http://ftpmaster.internal/ubuntu noble/main riscv64 libc6 riscv64 2.39-0ubuntu8 [2776 kB] Get:104 http://ftpmaster.internal/ubuntu noble/main riscv64 libc-bin riscv64 2.39-0ubuntu8 [609 kB] Get:105 http://ftpmaster.internal/ubuntu noble/main riscv64 base-files riscv64 13ubuntu10 [73.5 kB] Get:106 http://ftpmaster.internal/ubuntu noble/main riscv64 debianutils riscv64 5.17build1 [89.8 kB] Get:107 http://ftpmaster.internal/ubuntu noble/main riscv64 bash riscv64 5.2.21-2ubuntu4 [745 kB] Get:108 http://ftpmaster.internal/ubuntu noble/main riscv64 bsdutils riscv64 1:2.39.3-9ubuntu6 [116 kB] Get:109 http://ftpmaster.internal/ubuntu noble/main riscv64 coreutils riscv64 9.4-3ubuntu6 [1459 kB] Get:110 http://ftpmaster.internal/ubuntu noble/main riscv64 tar riscv64 1.35+dfsg-3build1 [269 kB] Get:111 http://ftpmaster.internal/ubuntu noble/main riscv64 dpkg riscv64 1.22.6ubuntu6 [1285 kB] Get:112 http://ftpmaster.internal/ubuntu noble/main riscv64 dash riscv64 0.5.12-6ubuntu5 [93.2 kB] Get:113 http://ftpmaster.internal/ubuntu noble/main riscv64 diffutils riscv64 1:3.10-1build1 [184 kB] Get:114 http://ftpmaster.internal/ubuntu noble/main riscv64 findutils riscv64 4.9.0-5build1 [315 kB] Get:115 http://ftpmaster.internal/ubuntu noble/main riscv64 grep riscv64 3.11-4build1 [169 kB] Get:116 http://ftpmaster.internal/ubuntu noble/main riscv64 gzip riscv64 1.12-1ubuntu3 [102 kB] Get:117 http://ftpmaster.internal/ubuntu noble/main riscv64 hostname riscv64 3.23+nmu2ubuntu2 [11.4 kB] Get:118 http://ftpmaster.internal/ubuntu noble/main riscv64 login riscv64 1:4.13+dfsg1-4ubuntu3 [204 kB] Get:119 http://ftpmaster.internal/ubuntu noble/main riscv64 ncurses-bin riscv64 6.4+20240113-1ubuntu2 [187 kB] Get:120 http://ftpmaster.internal/ubuntu noble/main riscv64 sed riscv64 4.9-2build1 [200 kB] Get:121 http://ftpmaster.internal/ubuntu noble/main riscv64 util-linux riscv64 2.39.3-9ubuntu6 [1330 kB] Get:122 http://ftpmaster.internal/ubuntu noble/main riscv64 ncurses-base all 6.4+20240113-1ubuntu2 [25.5 kB] Get:123 http://ftpmaster.internal/ubuntu noble/main riscv64 sysvinit-utils riscv64 3.08-6ubuntu3 [35.1 kB] Get:124 http://ftpmaster.internal/ubuntu noble/main riscv64 logsave riscv64 1.47.0-2.4~exp1ubuntu4 [22.3 kB] Get:125 http://ftpmaster.internal/ubuntu noble/main riscv64 libext2fs2t64 riscv64 1.47.0-2.4~exp1ubuntu4 [243 kB] Get:126 http://ftpmaster.internal/ubuntu noble/main riscv64 e2fsprogs riscv64 1.47.0-2.4~exp1ubuntu4 [604 kB] Get:127 http://ftpmaster.internal/ubuntu noble/main riscv64 optipng riscv64 0.7.8+ds-1build2 [115 kB] Get:128 http://ftpmaster.internal/ubuntu noble/main riscv64 libpng16-16t64 riscv64 1.6.43-5build1 [193 kB] Get:129 http://ftpmaster.internal/ubuntu noble/main riscv64 init riscv64 1.66ubuntu1 [6190 B] Get:130 http://ftpmaster.internal/ubuntu noble/main riscv64 libsmartcols1 riscv64 2.39.3-9ubuntu6 [146 kB] Get:131 http://ftpmaster.internal/ubuntu noble/main riscv64 uuid-runtime riscv64 2.39.3-9ubuntu6 [49.2 kB] Get:132 http://ftpmaster.internal/ubuntu noble/main riscv64 libattr1 riscv64 1:2.5.2-1build1 [11.4 kB] Get:133 http://ftpmaster.internal/ubuntu noble/main riscv64 libmd0 riscv64 1.1.0-2build1 [30.5 kB] Get:134 http://ftpmaster.internal/ubuntu noble/main riscv64 libpam-runtime all 1.5.3-5ubuntu5 [40.8 kB] Get:135 http://ftpmaster.internal/ubuntu noble/main riscv64 libsemanage-common all 3.5-1build5 [10.1 kB] Get:136 http://ftpmaster.internal/ubuntu noble/main riscv64 libsepol2 riscv64 3.5-2build1 [319 kB] Get:137 http://ftpmaster.internal/ubuntu noble/main riscv64 libsemanage2 riscv64 3.5-1build5 [101 kB] Get:138 http://ftpmaster.internal/ubuntu noble/main riscv64 passwd riscv64 1:4.13+dfsg1-4ubuntu3 [864 kB] Get:139 http://ftpmaster.internal/ubuntu noble/main riscv64 libproc2-0 riscv64 2:4.0.4-4ubuntu3 [60.9 kB] Get:140 http://ftpmaster.internal/ubuntu noble/main riscv64 libss2 riscv64 1.47.0-2.4~exp1ubuntu4 [17.1 kB] Get:141 http://ftpmaster.internal/ubuntu noble/main riscv64 mawk riscv64 1.3.4.20240123-1build1 [129 kB] Get:142 http://ftpmaster.internal/ubuntu noble/main riscv64 procps riscv64 2:4.0.4-4ubuntu3 [715 kB] Get:143 http://ftpmaster.internal/ubuntu noble/main riscv64 sensible-utils all 0.0.22 [22.5 kB] Get:144 http://ftpmaster.internal/ubuntu noble/main riscv64 ca-certificates all 20240203 [159 kB] Get:145 http://ftpmaster.internal/ubuntu noble/main riscv64 krb5-locales all 1.20.1-6ubuntu2 [13.8 kB] Get:146 http://ftpmaster.internal/ubuntu noble/main riscv64 tzdata all 2024a-2ubuntu1 [273 kB] Get:147 http://ftpmaster.internal/ubuntu noble/main riscv64 bash-completion all 1:2.11-8 [180 kB] Get:148 http://ftpmaster.internal/ubuntu noble/main riscv64 bsdextrautils riscv64 2.39.3-9ubuntu6 [92.2 kB] Get:149 http://ftpmaster.internal/ubuntu noble/main riscv64 libgpm2 riscv64 1.20.7-11 [15.0 kB] Get:150 http://ftpmaster.internal/ubuntu noble/main riscv64 libip4tc2 riscv64 1.8.10-3ubuntu2 [23.9 kB] Get:151 http://ftpmaster.internal/ubuntu noble/main riscv64 libjansson4 riscv64 2.14-2build2 [34.7 kB] Get:152 http://ftpmaster.internal/ubuntu noble/main riscv64 psmisc riscv64 23.7-1build1 [177 kB] Get:153 http://ftpmaster.internal/ubuntu noble/main riscv64 xz-utils riscv64 5.6.1+really5.4.5-1 [269 kB] Get:154 http://ftpmaster.internal/ubuntu noble/main riscv64 advancecomp riscv64 2.5-1build1 [237 kB] Get:155 http://ftpmaster.internal/ubuntu noble/main riscv64 libctf0 riscv64 2.42-4ubuntu2 [104 kB] Get:156 http://ftpmaster.internal/ubuntu noble/main riscv64 libctf-nobfd0 riscv64 2.42-4ubuntu2 [106 kB] Get:157 http://ftpmaster.internal/ubuntu noble/main riscv64 binutils-riscv64-linux-gnu riscv64 2.42-4ubuntu2 [899 kB] Get:158 http://ftpmaster.internal/ubuntu noble/main riscv64 libbinutils riscv64 2.42-4ubuntu2 [566 kB] Get:159 http://ftpmaster.internal/ubuntu noble/main riscv64 binutils riscv64 2.42-4ubuntu2 [2984 B] Get:160 http://ftpmaster.internal/ubuntu noble/main riscv64 binutils-common riscv64 2.42-4ubuntu2 [209 kB] Get:161 http://ftpmaster.internal/ubuntu noble/main riscv64 libsframe1 riscv64 2.42-4ubuntu2 [15.7 kB] Get:162 http://ftpmaster.internal/ubuntu noble/main riscv64 libgomp1 riscv64 14-20240412-0ubuntu1 [145 kB] Get:163 http://ftpmaster.internal/ubuntu noble/main riscv64 libatomic1 riscv64 14-20240412-0ubuntu1 [9488 B] Get:164 http://ftpmaster.internal/ubuntu noble/main riscv64 libasan8 riscv64 14-20240412-0ubuntu1 [2626 kB] Get:165 http://ftpmaster.internal/ubuntu noble/main riscv64 libubsan1 riscv64 14-20240412-0ubuntu1 [1079 kB] Get:166 http://ftpmaster.internal/ubuntu noble/main riscv64 g++-13 riscv64 13.2.0-23ubuntu4 [14.5 kB] Get:167 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-13 riscv64 13.2.0-23ubuntu4 [453 kB] Get:168 http://ftpmaster.internal/ubuntu noble/main riscv64 libstdc++-13-dev riscv64 13.2.0-23ubuntu4 [5668 kB] Get:169 http://ftpmaster.internal/ubuntu noble/main riscv64 libgcc-13-dev riscv64 13.2.0-23ubuntu4 [3859 kB] Get:170 http://ftpmaster.internal/ubuntu noble/main riscv64 libcc1-0 riscv64 14-20240412-0ubuntu1 [45.2 kB] Get:171 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp-13 riscv64 13.2.0-23ubuntu4 [1032 B] Get:172 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-13-base riscv64 13.2.0-23ubuntu4 [48.9 kB] Get:173 http://ftpmaster.internal/ubuntu noble/main riscv64 libisl23 riscv64 0.26-3build1 [718 kB] Get:174 http://ftpmaster.internal/ubuntu noble/main riscv64 libmpfr6 riscv64 4.2.1-1build1 [293 kB] Get:175 http://ftpmaster.internal/ubuntu noble/main riscv64 libmpc3 riscv64 1.3.1-1build1 [59.7 kB] Get:176 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-13-riscv64-linux-gnu riscv64 13.2.0-23ubuntu4 [19.7 MB] Get:177 http://ftpmaster.internal/ubuntu noble/main riscv64 g++-13-riscv64-linux-gnu riscv64 13.2.0-23ubuntu4 [11.6 MB] Get:178 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp-13-riscv64-linux-gnu riscv64 13.2.0-23ubuntu4 [10.3 MB] Get:179 http://ftpmaster.internal/ubuntu noble/main riscv64 g++ riscv64 4:13.2.0-7ubuntu1 [1082 B] Get:180 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc riscv64 4:13.2.0-7ubuntu1 [5016 B] Get:181 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp riscv64 4:13.2.0-7ubuntu1 [22.4 kB] Get:182 http://ftpmaster.internal/ubuntu noble/main riscv64 cpp-riscv64-linux-gnu riscv64 4:13.2.0-7ubuntu1 [5316 B] Get:183 http://ftpmaster.internal/ubuntu noble/main riscv64 gcc-riscv64-linux-gnu riscv64 4:13.2.0-7ubuntu1 [1202 B] Get:184 http://ftpmaster.internal/ubuntu noble/main riscv64 g++-riscv64-linux-gnu riscv64 4:13.2.0-7ubuntu1 [960 B] Get:185 http://ftpmaster.internal/ubuntu noble/main riscv64 dpkg-dev all 1.22.6ubuntu6 [1074 kB] Get:186 http://ftpmaster.internal/ubuntu noble/main riscv64 libdpkg-perl all 1.22.6ubuntu6 [268 kB] Get:187 http://ftpmaster.internal/ubuntu noble/main riscv64 patch riscv64 2.7.6-7build3 [113 kB] Get:188 http://ftpmaster.internal/ubuntu noble/main riscv64 make riscv64 4.3-4.1build2 [178 kB] Get:189 http://ftpmaster.internal/ubuntu noble/main riscv64 lto-disabled-list all 47 [12.4 kB] Get:190 http://ftpmaster.internal/ubuntu noble/main riscv64 libfakeroot riscv64 1.33-1 [34.6 kB] Get:191 http://ftpmaster.internal/ubuntu noble/main riscv64 fakeroot riscv64 1.33-1 [78.4 kB] Get:192 http://ftpmaster.internal/ubuntu noble/main riscv64 liblockfile-bin riscv64 1.17-1build3 [11.6 kB] Get:193 http://ftpmaster.internal/ubuntu noble/main riscv64 liblockfile1 riscv64 1.17-1build3 [7002 B] Get:194 http://ftpmaster.internal/ubuntu noble/main riscv64 lockfile-progs riscv64 0.1.19build2 [8288 B] Preconfiguring packages ... Fetched 115 MB in 18s (6490 kB/s) (Reading database ... 13552 files and directories currently installed.) Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1build1_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.1build1) over (1.3.3+ds-1) ... Preparing to unpack .../libtirpc-dev_1.3.4+ds-1.1build1_riscv64.deb ... Unpacking libtirpc-dev:riscv64 (1.3.4+ds-1.1build1) over (1.3.3+ds-1) ... Preparing to unpack .../libnsl-dev_1.3.0-3build3_riscv64.deb ... Unpacking libnsl-dev:riscv64 (1.3.0-3build3) over (1.3.0-2build2) ... Preparing to unpack .../libnsl2_1.3.0-3build3_riscv64.deb ... Unpacking libnsl2:riscv64 (1.3.0-3build3) over (1.3.0-2build2) ... dpkg: libtirpc3:riscv64: dependency problems, but removing anyway as you requested: libnss-nisplus:riscv64 depends on libtirpc3 (>= 1.0.2). (Reading database ... 13552 files and directories currently installed.) Removing libtirpc3:riscv64 (1.3.3+ds-1) ... Selecting previously unselected package libtirpc3t64:riscv64. (Reading database ... 13546 files and directories currently installed.) Preparing to unpack .../0-libtirpc3t64_1.3.4+ds-1.1build1_riscv64.deb ... Adding 'diversion of /lib/riscv64-linux-gnu/libtirpc.so.3 to /lib/riscv64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/riscv64-linux-gnu/libtirpc.so.3.0.0 to /lib/riscv64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:riscv64 (1.3.4+ds-1.1build1) ... Preparing to unpack .../1-libgssapi-krb5-2_1.20.1-6ubuntu2_riscv64.deb ... Unpacking libgssapi-krb5-2:riscv64 (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../2-libkrb5-3_1.20.1-6ubuntu2_riscv64.deb ... Unpacking libkrb5-3:riscv64 (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../3-libk5crypto3_1.20.1-6ubuntu2_riscv64.deb ... Unpacking libk5crypto3:riscv64 (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../4-libkrb5support0_1.20.1-6ubuntu2_riscv64.deb ... Unpacking libkrb5support0:riscv64 (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../5-libacl1_2.3.2-1build1_riscv64.deb ... Unpacking libacl1:riscv64 (2.3.2-1build1) over (2.3.1-3) ... Setting up libacl1:riscv64 (2.3.2-1build1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libapparmor1_4.0.0-beta3-0ubuntu3_riscv64.deb ... Unpacking libapparmor1:riscv64 (4.0.0-beta3-0ubuntu3) over (4.0.0~alpha2-0ubuntu5) ... Preparing to unpack .../libaudit-common_1%3a3.1.2-2.1build1_all.deb ... Unpacking libaudit-common (1:3.1.2-2.1build1) over (1:3.1.1-1) ... Setting up libaudit-common (1:3.1.2-2.1build1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.8.4-2build2_riscv64.deb ... Unpacking libcap-ng0:riscv64 (0.8.4-2build2) over (0.8.3-1build2) ... Setting up libcap-ng0:riscv64 (0.8.4-2build2) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.1.2-2.1build1_riscv64.deb ... Unpacking libaudit1:riscv64 (1:3.1.2-2.1build1) over (1:3.1.1-1) ... Setting up libaudit1:riscv64 (1:3.1.2-2.1build1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libblkid1_2.39.3-9ubuntu6_riscv64.deb ... Unpacking libblkid1:riscv64 (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Setting up libblkid1:riscv64 (2.39.3-9ubuntu6) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.66-5ubuntu2_riscv64.deb ... Unpacking libcap2:riscv64 (1:2.66-5ubuntu2) over (1:2.66-4ubuntu1) ... Setting up libcap2:riscv64 (1:2.66-5ubuntu2) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libcrypt-dev_1%3a4.4.36-4build1_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.36-4build1) over (1:4.4.36-2) ... Preparing to unpack .../libcrypt1_1%3a4.4.36-4build1_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.36-4build1) over (1:4.4.36-2) ... Setting up libcrypt1:riscv64 (1:4.4.36-4build1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libgpg-error-l10n_1.47-3build2_all.deb ... Unpacking libgpg-error-l10n (1.47-3build2) over (1.47-2) ... Preparing to unpack .../libgpg-error0_1.47-3build2_riscv64.deb ... Unpacking libgpg-error0:riscv64 (1.47-3build2) over (1.47-2) ... Setting up libgpg-error0:riscv64 (1.47-3build2) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.10.3-2build1_riscv64.deb ... Unpacking libgcrypt20:riscv64 (1.10.3-2build1) over (1.10.2-3ubuntu1) ... Setting up libgcrypt20:riscv64 (1.10.3-2build1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../liblzma5_5.6.1+really5.4.5-1_riscv64.deb ... Unpacking liblzma5:riscv64 (5.6.1+really5.4.5-1) over (5.4.1-0.2) ... Setting up liblzma5:riscv64 (5.6.1+really5.4.5-1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libzstd1_1.5.5+dfsg2-2build1_riscv64.deb ... Unpacking libzstd1:riscv64 (1.5.5+dfsg2-2build1) over (1.5.5+dfsg2-1ubuntu2) ... Setting up libzstd1:riscv64 (1.5.5+dfsg2-2build1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libkmod2_31+20240202-2ubuntu7_riscv64.deb ... Unpacking libkmod2:riscv64 (31+20240202-2ubuntu7) over (30+20230519-1ubuntu3) ... Preparing to unpack .../liblz4-1_1.9.4-1build1_riscv64.deb ... Unpacking liblz4-1:riscv64 (1.9.4-1build1) over (1.9.4-1) ... Setting up liblz4-1:riscv64 (1.9.4-1build1) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.42-4ubuntu2_riscv64.deb ... Unpacking libpcre2-8-0:riscv64 (10.42-4ubuntu2) over (10.42-4) ... Setting up libpcre2-8-0:riscv64 (10.42-4ubuntu2) ... (Reading database ... 13557 files and directories currently installed.) Preparing to unpack .../libselinux1_3.5-2ubuntu2_riscv64.deb ... Unpacking libselinux1:riscv64 (3.5-2ubuntu2) over (3.5-1) ... Setting up libselinux1:riscv64 (3.5-2ubuntu2) ... (Reading database ... 13558 files and directories currently installed.) Preparing to unpack .../libmount1_2.39.3-9ubuntu6_riscv64.deb ... Unpacking libmount1:riscv64 (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Setting up libmount1:riscv64 (2.39.3-9ubuntu6) ... (Reading database ... 13558 files and directories currently installed.) Preparing to unpack .../perl_5.38.2-3.2build2_riscv64.deb ... Unpacking perl (5.38.2-3.2build2) over (5.36.0-9ubuntu1) ... Selecting previously unselected package perl-modules-5.38. Preparing to unpack .../perl-modules-5.38_5.38.2-3.2build2_all.deb ... Unpacking perl-modules-5.38 (5.38.2-3.2build2) ... dpkg: libdb5.3:riscv64: dependency problems, but removing anyway as you requested: libperl5.36:riscv64 depends on libdb5.3. libpam-modules:riscv64 depends on libdb5.3. apt-utils depends on libdb5.3. (Reading database ... 14970 files and directories currently installed.) Removing libdb5.3:riscv64 (5.3.28+dfsg2-2) ... Selecting previously unselected package libdb5.3t64:riscv64. (Reading database ... 14964 files and directories currently installed.) Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-7_riscv64.deb ... Unpacking libdb5.3t64:riscv64 (5.3.28+dfsg2-7) ... dpkg: libgdbm6:riscv64: dependency problems, but removing anyway as you requested: libperl5.36:riscv64 depends on libgdbm6 (>= 1.21). libgdbm-compat4:riscv64 depends on libgdbm6 (>= 1.16). (Reading database ... 14970 files and directories currently installed.) Removing libgdbm6:riscv64 (1.23-3) ... Selecting previously unselected package libgdbm6t64:riscv64. (Reading database ... 14965 files and directories currently installed.) Preparing to unpack .../libgdbm6t64_1.23-5.1build1_riscv64.deb ... Unpacking libgdbm6t64:riscv64 (1.23-5.1build1) ... dpkg: libgdbm-compat4:riscv64: dependency problems, but removing anyway as you requested: libperl5.36:riscv64 depends on libgdbm-compat4 (>= 1.18-3). (Reading database ... 14971 files and directories currently installed.) Removing libgdbm-compat4:riscv64 (1.23-3) ... Selecting previously unselected package libgdbm-compat4t64:riscv64. (Reading database ... 14966 files and directories currently installed.) Preparing to unpack .../libgdbm-compat4t64_1.23-5.1build1_riscv64.deb ... Unpacking libgdbm-compat4t64:riscv64 (1.23-5.1build1) ... Selecting previously unselected package libperl5.38t64:riscv64. Preparing to unpack .../libperl5.38t64_5.38.2-3.2build2_riscv64.deb ... Unpacking libperl5.38t64:riscv64 (5.38.2-3.2build2) ... Preparing to unpack .../perl-base_5.38.2-3.2build2_riscv64.deb ... Unpacking perl-base (5.38.2-3.2build2) over (5.36.0-9ubuntu1) ... Setting up perl-base (5.38.2-3.2build2) ... (Reading database ... 15492 files and directories currently installed.) Preparing to unpack .../0-liblocale-gettext-perl_1.07-6ubuntu5_riscv64.deb ... Unpacking liblocale-gettext-perl (1.07-6ubuntu5) over (1.07-6) ... Preparing to unpack .../1-libtext-iconv-perl_1.7-8build3_riscv64.deb ... Unpacking libtext-iconv-perl:riscv64 (1.7-8build3) over (1.7-8) ... Preparing to unpack .../2-libtext-charwidth-perl_0.04-11build3_riscv64.deb ... Unpacking libtext-charwidth-perl:riscv64 (0.04-11build3) over (0.04-11) ... Preparing to unpack .../3-openssl_3.0.13-0ubuntu3_riscv64.deb ... Unpacking openssl (3.0.13-0ubuntu3) over (3.0.10-1ubuntu2) ... Preparing to unpack .../4-libsystemd-shared_255.4-1ubuntu8_riscv64.deb ... Unpacking libsystemd-shared:riscv64 (255.4-1ubuntu8) over (253.5-1ubuntu6) ... Preparing to unpack .../5-libcryptsetup12_2%3a2.7.0-1ubuntu4_riscv64.deb ... Unpacking libcryptsetup12:riscv64 (2:2.7.0-1ubuntu4) over (2:2.6.1-4ubuntu3) ... dpkg: libssl3:riscv64: dependency problems, but removing anyway as you requested: systemd depends on libssl3 (>= 3.0.0). (Reading database ... 15491 files and directories currently installed.) Removing libssl3:riscv64 (3.0.10-1ubuntu2) ... Selecting previously unselected package libssl3t64:riscv64. (Reading database ... 15480 files and directories currently installed.) Preparing to unpack .../libssl3t64_3.0.13-0ubuntu3_riscv64.deb ... Unpacking libssl3t64:riscv64 (3.0.13-0ubuntu3) ... Setting up libssl3t64:riscv64 (3.0.13-0ubuntu3) ... (Reading database ... 15493 files and directories currently installed.) Preparing to unpack .../systemd-dev_255.4-1ubuntu8_all.deb ... Unpacking systemd-dev (255.4-1ubuntu8) over (253.5-1ubuntu6) ... Preparing to unpack .../systemd-sysv_255.4-1ubuntu8_riscv64.deb ... Unpacking systemd-sysv (255.4-1ubuntu8) over (253.5-1ubuntu6) ... Preparing to unpack .../systemd_255.4-1ubuntu8_riscv64.deb ... Unpacking systemd (255.4-1ubuntu8) over (253.5-1ubuntu6) ... dpkg: warning: unable to delete old directory '/lib/systemd/system-preset': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system-generators': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user@0.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user@.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/user-.slice.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/timers.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/systemd-localed.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/sysinit.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/sockets.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/rescue.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/rc-local.service.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/multi-user.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd-root-fs.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/initrd-root-device.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/graphical.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/system/getty.target.wants': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/network': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd/journald.conf.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty Preparing to unpack .../libsystemd0_255.4-1ubuntu8_riscv64.deb ... Unpacking libsystemd0:riscv64 (255.4-1ubuntu8) over (253.5-1ubuntu6) ... Setting up libsystemd0:riscv64 (255.4-1ubuntu8) ... (Reading database ... 15655 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu5_riscv64.deb ... Unpacking libpam-modules-bin (1.5.3-5ubuntu5) over (1.5.2-6ubuntu1) ... Setting up libpam-modules-bin (1.5.3-5ubuntu5) ... (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.5.3-5ubuntu5_riscv64.deb ... Unpacking libpam-modules:riscv64 (1.5.3-5ubuntu5) over (1.5.2-6ubuntu1) ... dpkg: warning: unable to delete old directory '/lib/riscv64-linux-gnu/security': Directory not empty Setting up libpam-modules:riscv64 (1.5.3-5ubuntu5) ... Installing new version of config file /etc/security/namespace.init ... dpkg: libhogweed6:riscv64: dependency problems, but removing anyway as you requested: libgnutls30:riscv64 depends on libhogweed6 (>= 3.6). (Reading database ... 15651 files and directories currently installed.) Removing libhogweed6:riscv64 (3.9.1-2) ... dpkg: libnettle8:riscv64: dependency problems, but removing anyway as you requested: libgnutls30:riscv64 depends on libnettle8 (>= 3.7~). Removing libnettle8:riscv64 (3.9.1-2) ... Selecting previously unselected package libnettle8t64:riscv64. (Reading database ... 15639 files and directories currently installed.) Preparing to unpack .../libnettle8t64_3.9.1-2.2build1_riscv64.deb ... Unpacking libnettle8t64:riscv64 (3.9.1-2.2build1) ... Setting up libnettle8t64:riscv64 (3.9.1-2.2build1) ... Selecting previously unselected package libhogweed6t64:riscv64. (Reading database ... 15647 files and directories currently installed.) Preparing to unpack .../libhogweed6t64_3.9.1-2.2build1_riscv64.deb ... Unpacking libhogweed6t64:riscv64 (3.9.1-2.2build1) ... Setting up libhogweed6t64:riscv64 (3.9.1-2.2build1) ... (Reading database ... 15653 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.25.3-4ubuntu2_riscv64.deb ... Unpacking libp11-kit0:riscv64 (0.25.3-4ubuntu2) over (0.25.0-4ubuntu1) ... Setting up libp11-kit0:riscv64 (0.25.3-4ubuntu2) ... Selecting previously unselected package libunistring5:riscv64. (Reading database ... 15653 files and directories currently installed.) Preparing to unpack .../libunistring5_1.1-2build1_riscv64.deb ... Unpacking libunistring5:riscv64 (1.1-2build1) ... Setting up libunistring5:riscv64 (1.1-2build1) ... dpkg: libgnutls30:riscv64: dependency problems, but removing anyway as you requested: apt depends on libgnutls30 (>= 3.7.5). (Reading database ... 15658 files and directories currently installed.) Removing libgnutls30:riscv64 (3.8.1-4ubuntu1) ... Selecting previously unselected package libgnutls30t64:riscv64. (Reading database ... 15648 files and directories currently installed.) Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu3_riscv64.deb ... Unpacking libgnutls30t64:riscv64 (3.8.3-1.1ubuntu3) ... Setting up libgnutls30t64:riscv64 (3.8.3-1.1ubuntu3) ... dpkg: libapt-pkg6.0:riscv64: dependency problems, but removing anyway as you requested: apt-utils depends on libapt-pkg6.0 (>= 2.7.3). apt depends on libapt-pkg6.0 (>= 2.7.3). (Reading database ... 15660 files and directories currently installed.) Removing libapt-pkg6.0:riscv64 (2.7.3) ... Selecting previously unselected package libapt-pkg6.0t64:riscv64. (Reading database ... 15611 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0t64_2.7.14build2_riscv64.deb ... Unpacking libapt-pkg6.0t64:riscv64 (2.7.14build2) ... Setting up libapt-pkg6.0t64:riscv64 (2.7.14build2) ... (Reading database ... 15661 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-5.1_riscv64.deb ... Unpacking bzip2 (1.0.8-5.1) over (1.0.8-5build1) ... dpkg: warning: old file '/bin/bzip2' is the same as several new files! (both '/usr/bin/bunzip2' and '/usr/bin/bzcat') dpkg: warning: old file '/bin/bzip2' is the same as several new files! (both '/usr/bin/bzcat' and '/usr/bin/bzip2') dpkg: warning: old file '/bin/bzcat' is the same as several new files! (both '/usr/bin/bunzip2' and '/usr/bin/bzcat') dpkg: warning: old file '/bin/bzcat' is the same as several new files! (both '/usr/bin/bzcat' and '/usr/bin/bzip2') dpkg: warning: old file '/bin/bunzip2' is the same as several new files! (both '/usr/bin/bunzip2' and '/usr/bin/bzcat') dpkg: warning: old file '/bin/bunzip2' is the same as several new files! (both '/usr/bin/bzcat' and '/usr/bin/bzip2') Preparing to unpack .../libbz2-1.0_1.0.8-5.1_riscv64.deb ... Unpacking libbz2-1.0:riscv64 (1.0.8-5.1) over (1.0.8-5build1) ... Setting up libbz2-1.0:riscv64 (1.0.8-5.1) ... Selecting previously unselected package gcc-14-base:riscv64. (Reading database ... 15661 files and directories currently installed.) Preparing to unpack .../gcc-14-base_14-20240412-0ubuntu1_riscv64.deb ... Unpacking gcc-14-base:riscv64 (14-20240412-0ubuntu1) ... Setting up gcc-14-base:riscv64 (14-20240412-0ubuntu1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libgcc-s1_14-20240412-0ubuntu1_riscv64.deb ... Unpacking libgcc-s1:riscv64 (14-20240412-0ubuntu1) over (13.2.0-4ubuntu3) ... Setting up libgcc-s1:riscv64 (14-20240412-0ubuntu1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libstdc++6_14-20240412-0ubuntu1_riscv64.deb ... Unpacking libstdc++6:riscv64 (14-20240412-0ubuntu1) over (13.2.0-4ubuntu3) ... Setting up libstdc++6:riscv64 (14-20240412-0ubuntu1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libudev1_255.4-1ubuntu8_riscv64.deb ... Unpacking libudev1:riscv64 (255.4-1ubuntu8) over (253.5-1ubuntu6) ... Setting up libudev1:riscv64 (255.4-1ubuntu8) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libxxhash0_0.8.2-2build1_riscv64.deb ... Unpacking libxxhash0:riscv64 (0.8.2-2build1) over (0.8.1-1) ... Setting up libxxhash0:riscv64 (0.8.2-2build1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu2_riscv64.deb ... Unpacking zlib1g:riscv64 (1:1.3.dfsg-3.1ubuntu2) over (1:1.2.13.dfsg-1ubuntu5) ... Setting up zlib1g:riscv64 (1:1.3.dfsg-3.1ubuntu2) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.3.0+dfsg-2ubuntu6_riscv64.deb ... Unpacking libgmp10:riscv64 (2:6.3.0+dfsg-2ubuntu6) over (2:6.3.0+dfsg-2ubuntu4) ... Setting up libgmp10:riscv64 (2:6.3.0+dfsg-2ubuntu6) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libffi8_3.4.6-1build1_riscv64.deb ... Unpacking libffi8:riscv64 (3.4.6-1build1) over (3.4.4-1) ... Setting up libffi8:riscv64 (3.4.6-1build1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.7-2build1_riscv64.deb ... Unpacking libidn2-0:riscv64 (2.3.7-2build1) over (2.3.4-1) ... Setting up libidn2-0:riscv64 (2.3.7-2build1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.19.0-3build1_riscv64.deb ... Unpacking libtasn1-6:riscv64 (4.19.0-3build1) over (4.19.0-3) ... Setting up libtasn1-6:riscv64 (4.19.0-3build1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.271ubuntu3_riscv64.deb ... Unpacking libdebconfclient0:riscv64 (0.271ubuntu3) over (0.270ubuntu1) ... Setting up libdebconfclient0:riscv64 (0.271ubuntu3) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../base-passwd_3.6.3build1_riscv64.deb ... Unpacking base-passwd (3.6.3build1) over (3.6.1) ... Setting up base-passwd (3.6.3build1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libassuan0_2.5.6-1build1_riscv64.deb ... Unpacking libassuan0:riscv64 (2.5.6-1build1) over (2.5.6-1) ... Setting up libassuan0:riscv64 (2.5.6-1build1) ... (Reading database ... 15666 files and directories currently installed.) Preparing to unpack .../libsqlite3-0_3.45.1-1ubuntu2_riscv64.deb ... Unpacking libsqlite3-0:riscv64 (3.45.1-1ubuntu2) over (3.42.0-1) ... Preparing to unpack .../gpg_2.4.4-2ubuntu17_riscv64.deb ... Unpacking gpg (2.4.4-2ubuntu17) over (2.2.40-1.1ubuntu1) ... dpkg: libreadline8:riscv64: dependency problems, but removing anyway as you requested: gpgconf depends on libreadline8 (>= 6.0). (Reading database ... 15666 files and directories currently installed.) Removing libreadline8:riscv64 (8.2-1.3) ... Selecting previously unselected package libreadline8t64:riscv64. (Reading database ... 15654 files and directories currently installed.) Preparing to unpack .../libreadline8t64_8.2-4build1_riscv64.deb ... Adding 'diversion of /lib/riscv64-linux-gnu/libhistory.so.8 to /lib/riscv64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/riscv64-linux-gnu/libhistory.so.8.2 to /lib/riscv64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/riscv64-linux-gnu/libreadline.so.8 to /lib/riscv64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/riscv64-linux-gnu/libreadline.so.8.2 to /lib/riscv64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:riscv64 (8.2-4build1) ... Preparing to unpack .../readline-common_8.2-4build1_all.deb ... Unpacking readline-common (8.2-4build1) over (8.2-1.3) ... Preparing to unpack .../libncursesw6_6.4+20240113-1ubuntu2_riscv64.deb ... Unpacking libncursesw6:riscv64 (6.4+20240113-1ubuntu2) over (6.4+20230625-2) ... Preparing to unpack .../libtinfo6_6.4+20240113-1ubuntu2_riscv64.deb ... Unpacking libtinfo6:riscv64 (6.4+20240113-1ubuntu2) over (6.4+20230625-2) ... Setting up libtinfo6:riscv64 (6.4+20240113-1ubuntu2) ... (Reading database ... 15674 files and directories currently installed.) Preparing to unpack .../gpg-agent_2.4.4-2ubuntu17_riscv64.deb ... Unpacking gpg-agent (2.4.4-2ubuntu17) over (2.2.40-1.1ubuntu1) ... Preparing to unpack .../gpgconf_2.4.4-2ubuntu17_riscv64.deb ... Unpacking gpgconf (2.4.4-2ubuntu17) over (2.2.40-1.1ubuntu1) ... Preparing to unpack .../pinentry-curses_1.2.1-3ubuntu5_riscv64.deb ... Unpacking pinentry-curses (1.2.1-3ubuntu5) over (1.2.1-1ubuntu1) ... Preparing to unpack .../init-system-helpers_1.66ubuntu1_all.deb ... Unpacking init-system-helpers (1.66ubuntu1) over (1.65.2ubuntu1) ... Setting up init-system-helpers (1.66ubuntu1) ... (Reading database ... 15673 files and directories currently installed.) Removing libnpth0:riscv64 (1.6-3build2) ... Selecting previously unselected package libnpth0t64:riscv64. (Reading database ... 15668 files and directories currently installed.) Preparing to unpack .../libnpth0t64_1.6-3.1build1_riscv64.deb ... Unpacking libnpth0t64:riscv64 (1.6-3.1build1) ... Setting up libnpth0t64:riscv64 (1.6-3.1build1) ... (Reading database ... 15674 files and directories currently installed.) Preparing to unpack .../gpgv_2.4.4-2ubuntu17_riscv64.deb ... Unpacking gpgv (2.4.4-2ubuntu17) over (2.2.40-1.1ubuntu1) ... Setting up gpgv (2.4.4-2ubuntu17) ... (Reading database ... 15674 files and directories currently installed.) Preparing to unpack .../ubuntu-keyring_2023.11.28.1_all.deb ... Unpacking ubuntu-keyring (2023.11.28.1) over (2021.03.26) ... Setting up ubuntu-keyring (2023.11.28.1) ... (Reading database ... 15674 files and directories currently installed.) Preparing to unpack .../apt-utils_2.7.14build2_riscv64.deb ... Unpacking apt-utils (2.7.14build2) over (2.7.3) ... Preparing to unpack .../apt_2.7.14build2_riscv64.deb ... Unpacking apt (2.7.14build2) over (2.7.3) ... Setting up apt (2.7.14build2) ... (Reading database ... 15674 files and directories currently installed.) Preparing to unpack .../debconf-i18n_1.5.86ubuntu1_all.deb ... Unpacking debconf-i18n (1.5.86ubuntu1) over (1.5.82) ... Preparing to unpack .../debconf_1.5.86ubuntu1_all.deb ... Unpacking debconf (1.5.86ubuntu1) over (1.5.82) ... Setting up debconf (1.5.86ubuntu1) ... Installing new version of config file /etc/debconf.conf ... (Reading database ... 15673 files and directories currently installed.) Preparing to unpack .../libpam0g_1.5.3-5ubuntu5_riscv64.deb ... Unpacking libpam0g:riscv64 (1.5.3-5ubuntu5) over (1.5.2-6ubuntu1) ... Setting up libpam0g:riscv64 (1.5.3-5ubuntu5) ... (Reading database ... 15672 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.5-1ubuntu3_riscv64.deb ... Unpacking libseccomp2:riscv64 (2.5.5-1ubuntu3) over (2.5.4-1ubuntu3) ... Preparing to unpack .../libargon2-1_0~20190702+dfsg-4build1_riscv64.deb ... Unpacking libargon2-1:riscv64 (0~20190702+dfsg-4build1) over (0~20190702+dfsg-3) ... Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu3_riscv64.deb ... Unpacking libdevmapper1.02.1:riscv64 (2:1.02.185-3ubuntu3) over (2:1.02.185-2ubuntu1) ... Preparing to unpack .../libjson-c5_0.17-1build1_riscv64.deb ... Unpacking libjson-c5:riscv64 (0.17-1build1) over (0.17-1) ... Preparing to unpack .../libuuid1_2.39.3-9ubuntu6_riscv64.deb ... Unpacking libuuid1:riscv64 (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Setting up libuuid1:riscv64 (2.39.3-9ubuntu6) ... (Reading database ... 15672 files and directories currently installed.) Preparing to unpack .../00-libfdisk1_2.39.3-9ubuntu6_riscv64.deb ... Unpacking libfdisk1:riscv64 (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Preparing to unpack .../01-mount_2.39.3-9ubuntu6_riscv64.deb ... Unpacking mount (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Preparing to unpack .../02-libcom-err2_1.47.0-2.4~exp1ubuntu4_riscv64.deb ... Unpacking libcom-err2:riscv64 (1.47.0-2.4~exp1ubuntu4) over (1.47.0-2ubuntu1) ... Preparing to unpack .../03-libkeyutils1_1.6.3-3build1_riscv64.deb ... Unpacking libkeyutils1:riscv64 (1.6.3-3build1) over (1.6.3-2) ... Preparing to unpack .../04-libnss-nisplus_1.3-5build1_riscv64.deb ... Unpacking libnss-nisplus:riscv64 (1.3-5build1) over (1.3-0ubuntu6) ... Preparing to unpack .../05-libnss-nis_3.1-0ubuntu7_riscv64.deb ... Unpacking libnss-nis:riscv64 (3.1-0ubuntu7) over (3.1-0ubuntu6) ... Preparing to unpack .../06-rpcsvc-proto_1.4.2-0ubuntu7_riscv64.deb ... Unpacking rpcsvc-proto (1.4.2-0ubuntu7) over (1.4.2-0ubuntu6) ... Preparing to unpack .../07-libc6-dev_2.39-0ubuntu8_riscv64.deb ... Unpacking libc6-dev:riscv64 (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Preparing to unpack .../08-libc-dev-bin_2.39-0ubuntu8_riscv64.deb ... Unpacking libc-dev-bin (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Preparing to unpack .../09-linux-libc-dev_6.8.0-31.31_riscv64.deb ... Unpacking linux-libc-dev:riscv64 (6.8.0-31.31) over (6.5.0-9.9) ... Preparing to unpack .../10-libc6_2.39-0ubuntu8_riscv64.deb ... Unpacking libc6:riscv64 (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Setting up libc6:riscv64 (2.39-0ubuntu8) ... (Reading database ... 15687 files and directories currently installed.) Preparing to unpack .../libc-bin_2.39-0ubuntu8_riscv64.deb ... Unpacking libc-bin (2.39-0ubuntu8) over (2.38-1ubuntu6) ... Setting up libc-bin (2.39-0ubuntu8) ... (Reading database ... 15687 files and directories currently installed.) Preparing to unpack .../base-files_13ubuntu10_riscv64.deb ... Unpacking base-files (13ubuntu10) over (13ubuntu3) ... Setting up base-files (13ubuntu10) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/10-help-text ... (Reading database ... 15696 files and directories currently installed.) Preparing to unpack .../debianutils_5.17build1_riscv64.deb ... Unpacking debianutils (5.17build1) over (5.8-1) ... Setting up debianutils (5.17build1) ... (Reading database ... 15695 files and directories currently installed.) Preparing to unpack .../bash_5.2.21-2ubuntu4_riscv64.deb ... Unpacking bash (5.2.21-2ubuntu4) over (5.2.15-2ubuntu1) ... Setting up bash (5.2.21-2ubuntu4) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 15695 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu6_riscv64.deb ... Unpacking bsdutils (1:2.39.3-9ubuntu6) over (1:2.39.1-4ubuntu2) ... Setting up bsdutils (1:2.39.3-9ubuntu6) ... (Reading database ... 15695 files and directories currently installed.) Removing usrmerge (35ubuntu1) ... (Reading database ... 15669 files and directories currently installed.) Preparing to unpack .../coreutils_9.4-3ubuntu6_riscv64.deb ... Unpacking coreutils (9.4-3ubuntu6) over (9.1-1ubuntu2) ... Setting up coreutils (9.4-3ubuntu6) ... (Reading database ... 15674 files and directories currently installed.) Preparing to unpack .../tar_1.35+dfsg-3build1_riscv64.deb ... Unpacking tar (1.35+dfsg-3build1) over (1.34+dfsg-1.2ubuntu1) ... Setting up tar (1.35+dfsg-3build1) ... (Reading database ... 15674 files and directories currently installed.) Preparing to unpack .../dpkg_1.22.6ubuntu6_riscv64.deb ... Unpacking dpkg (1.22.6ubuntu6) over (1.22.0ubuntu1) ... Setting up dpkg (1.22.6ubuntu6) ... (Reading database ... 15672 files and directories currently installed.) Preparing to unpack .../dash_0.5.12-6ubuntu5_riscv64.deb ... Unpacking dash (0.5.12-6ubuntu5) over (0.5.12-6ubuntu1) ... Setting up dash (0.5.12-6ubuntu5) ... (Reading database ... 15671 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.10-1build1_riscv64.deb ... Unpacking diffutils (1:3.10-1build1) over (1:3.8-4) ... Setting up diffutils (1:3.10-1build1) ... (Reading database ... 15671 files and directories currently installed.) Preparing to unpack .../findutils_4.9.0-5build1_riscv64.deb ... Unpacking findutils (4.9.0-5build1) over (4.9.0-5) ... Setting up findutils (4.9.0-5build1) ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../grep_3.11-4build1_riscv64.deb ... Unpacking grep (3.11-4build1) over (3.11-2) ... Setting up grep (3.11-4build1) ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../gzip_1.12-1ubuntu3_riscv64.deb ... Unpacking gzip (1.12-1ubuntu3) over (1.12-1ubuntu1) ... dpkg: warning: old file '/bin/uncompress' is the same as several new files! (both '/usr/bin/gunzip' and '/usr/bin/uncompress') dpkg: warning: old file '/bin/gunzip' is the same as several new files! (both '/usr/bin/gunzip' and '/usr/bin/uncompress') Setting up gzip (1.12-1ubuntu3) ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../hostname_3.23+nmu2ubuntu2_riscv64.deb ... Unpacking hostname (3.23+nmu2ubuntu2) over (3.23+nmu1ubuntu1) ... Setting up hostname (3.23+nmu2ubuntu2) ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../login_1%3a4.13+dfsg1-4ubuntu3_riscv64.deb ... Unpacking login (1:4.13+dfsg1-4ubuntu3) over (1:4.13+dfsg1-1ubuntu1) ... Setting up login (1:4.13+dfsg1-4ubuntu3) ... Installing new version of config file /etc/login.defs ... Installing new version of config file /etc/pam.d/login ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.4+20240113-1ubuntu2_riscv64.deb ... Unpacking ncurses-bin (6.4+20240113-1ubuntu2) over (6.4+20230625-2) ... Setting up ncurses-bin (6.4+20240113-1ubuntu2) ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../sed_4.9-2build1_riscv64.deb ... Unpacking sed (4.9-2build1) over (4.9-1) ... Setting up sed (4.9-2build1) ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../util-linux_2.39.3-9ubuntu6_riscv64.deb ... Unpacking util-linux (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Setting up util-linux (2.39.3-9ubuntu6) ... (Reading database ... 15672 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.4+20240113-1ubuntu2_all.deb ... Unpacking ncurses-base (6.4+20240113-1ubuntu2) over (6.4+20230625-2) ... Setting up ncurses-base (6.4+20240113-1ubuntu2) ... (Reading database ... 15672 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_3.08-6ubuntu3_riscv64.deb ... Unpacking sysvinit-utils (3.08-6ubuntu3) over (3.07-1ubuntu1) ... dpkg: warning: unable to delete old directory '/lib/lsb/init-functions.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/lsb': Directory not empty dpkg: warning: unable to delete old directory '/lib/init': Directory not empty Setting up sysvinit-utils (3.08-6ubuntu3) ... (Reading database ... 15670 files and directories currently installed.) Preparing to unpack .../logsave_1.47.0-2.4~exp1ubuntu4_riscv64.deb ... Unpacking logsave (1.47.0-2.4~exp1ubuntu4) over (1.47.0-2ubuntu1) ... dpkg: libext2fs2:riscv64: dependency problems, but removing anyway as you requested: e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). (Reading database ... 15670 files and directories currently installed.) Removing libext2fs2:riscv64 (1.47.0-2ubuntu1) ... Selecting previously unselected package libext2fs2t64:riscv64. (Reading database ... 15663 files and directories currently installed.) Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu4_riscv64.deb ... Adding 'diversion of /lib/riscv64-linux-gnu/libe2p.so.2 to /lib/riscv64-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/riscv64-linux-gnu/libe2p.so.2.3 to /lib/riscv64-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/riscv64-linux-gnu/libext2fs.so.2 to /lib/riscv64-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' Adding 'diversion of /lib/riscv64-linux-gnu/libext2fs.so.2.4 to /lib/riscv64-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' Unpacking libext2fs2t64:riscv64 (1.47.0-2.4~exp1ubuntu4) ... Setting up libcom-err2:riscv64 (1.47.0-2.4~exp1ubuntu4) ... Setting up libext2fs2t64:riscv64 (1.47.0-2.4~exp1ubuntu4) ... (Reading database ... 15679 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu4_riscv64.deb ... Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu4) over (1.47.0-2ubuntu1) ... dpkg: warning: unable to delete old directory '/lib/udev/rules.d': Directory not empty dpkg: warning: unable to delete old directory '/lib/udev': Directory not empty Preparing to unpack .../optipng_0.7.8+ds-1build2_riscv64.deb ... Unpacking optipng (0.7.8+ds-1build2) over (0.7.7-2build1) ... (Reading database ... 15677 files and directories currently installed.) Removing libpng16-16:riscv64 (1.6.40-1) ... Selecting previously unselected package libpng16-16t64:riscv64. (Reading database ... 15667 files and directories currently installed.) Preparing to unpack .../libpng16-16t64_1.6.43-5build1_riscv64.deb ... Unpacking libpng16-16t64:riscv64 (1.6.43-5build1) ... Setting up libapparmor1:riscv64 (4.0.0-beta3-0ubuntu3) ... Setting up libargon2-1:riscv64 (0~20190702+dfsg-4build1) ... Setting up libdevmapper1.02.1:riscv64 (2:1.02.185-3ubuntu3) ... Setting up libjson-c5:riscv64 (0.17-1build1) ... Setting up libcryptsetup12:riscv64 (2:2.7.0-1ubuntu4) ... Setting up libfdisk1:riscv64 (2.39.3-9ubuntu6) ... Setting up libkmod2:riscv64 (31+20240202-2ubuntu7) ... Setting up libseccomp2:riscv64 (2.5.5-1ubuntu3) ... Setting up libsystemd-shared:riscv64 (255.4-1ubuntu8) ... Setting up systemd-dev (255.4-1ubuntu8) ... Setting up mount (2.39.3-9ubuntu6) ... Setting up systemd (255.4-1ubuntu8) ... Installing new version of config file /etc/systemd/journald.conf ... Installing new version of config file /etc/systemd/logind.conf ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/pstore.conf ... Installing new version of config file /etc/systemd/sleep.conf ... Installing new version of config file /etc/systemd/system.conf ... Installing new version of config file /etc/systemd/user.conf ... Initializing machine ID from random generator. Setting up systemd-sysv (255.4-1ubuntu8) ... (Reading database ... 15678 files and directories currently installed.) Preparing to unpack .../init_1.66ubuntu1_riscv64.deb ... Unpacking init (1.66ubuntu1) over (1.65.2ubuntu1) ... Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu6_riscv64.deb ... Unpacking libsmartcols1:riscv64 (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Setting up libsmartcols1:riscv64 (2.39.3-9ubuntu6) ... (Reading database ... 15679 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu6_riscv64.deb ... Unpacking uuid-runtime (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... dpkg: warning: unable to delete old directory '/lib/systemd/system': Directory not empty dpkg: warning: unable to delete old directory '/lib/systemd': Directory not empty Preparing to unpack .../libattr1_1%3a2.5.2-1build1_riscv64.deb ... Unpacking libattr1:riscv64 (1:2.5.2-1build1) over (1:2.5.1-4) ... Setting up libattr1:riscv64 (1:2.5.2-1build1) ... (Reading database ... 15677 files and directories currently installed.) Preparing to unpack .../libmd0_1.1.0-2build1_riscv64.deb ... Unpacking libmd0:riscv64 (1.1.0-2build1) over (1.1.0-1) ... Setting up libmd0:riscv64 (1.1.0-2build1) ... (Reading database ... 15677 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu5_all.deb ... Unpacking libpam-runtime (1.5.3-5ubuntu5) over (1.5.2-6ubuntu1) ... Setting up libpam-runtime (1.5.3-5ubuntu5) ... (Reading database ... 15676 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.5-1build5_all.deb ... Unpacking libsemanage-common (3.5-1build5) over (3.5-1) ... Setting up libsemanage-common (3.5-1build5) ... (Reading database ... 15676 files and directories currently installed.) Preparing to unpack .../libsepol2_3.5-2build1_riscv64.deb ... Unpacking libsepol2:riscv64 (3.5-2build1) over (3.5-1) ... Setting up libsepol2:riscv64 (3.5-2build1) ... (Reading database ... 15676 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.5-1build5_riscv64.deb ... Unpacking libsemanage2:riscv64 (3.5-1build5) over (3.5-1) ... Setting up libsemanage2:riscv64 (3.5-1build5) ... (Reading database ... 15676 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.13+dfsg1-4ubuntu3_riscv64.deb ... Unpacking passwd (1:4.13+dfsg1-4ubuntu3) over (1:4.13+dfsg1-1ubuntu1) ... Setting up passwd (1:4.13+dfsg1-4ubuntu3) ... (Reading database ... 15676 files and directories currently installed.) Preparing to unpack .../00-libproc2-0_2%3a4.0.4-4ubuntu3_riscv64.deb ... Unpacking libproc2-0:riscv64 (2:4.0.4-4ubuntu3) over (2:4.0.3-1ubuntu1) ... Preparing to unpack .../01-libss2_1.47.0-2.4~exp1ubuntu4_riscv64.deb ... Unpacking libss2:riscv64 (1.47.0-2.4~exp1ubuntu4) over (1.47.0-2ubuntu1) ... Preparing to unpack .../02-mawk_1.3.4.20240123-1build1_riscv64.deb ... Unpacking mawk (1.3.4.20240123-1build1) over (1.3.4.20230730-1) ... Preparing to unpack .../03-procps_2%3a4.0.4-4ubuntu3_riscv64.deb ... Unpacking procps (2:4.0.4-4ubuntu3) over (2:4.0.3-1ubuntu1) ... Preparing to unpack .../04-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) over (0.0.20) ... Preparing to unpack .../05-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) over (20230311ubuntu1) ... Preparing to unpack .../06-krb5-locales_1.20.1-6ubuntu2_all.deb ... Unpacking krb5-locales (1.20.1-6ubuntu2) over (1.20.1-3ubuntu1) ... Preparing to unpack .../07-tzdata_2024a-2ubuntu1_all.deb ... Unpacking tzdata (2024a-2ubuntu1) over (2023c-9ubuntu1) ... Preparing to unpack .../08-bash-completion_1%3a2.11-8_all.deb ... Unpacking bash-completion (1:2.11-8) over (1:2.11-7) ... Preparing to unpack .../09-bsdextrautils_2.39.3-9ubuntu6_riscv64.deb ... Unpacking bsdextrautils (2.39.3-9ubuntu6) over (2.39.1-4ubuntu2) ... Preparing to unpack .../10-libgpm2_1.20.7-11_riscv64.deb ... Unpacking libgpm2:riscv64 (1.20.7-11) over (1.20.7-10build1) ... Preparing to unpack .../11-libip4tc2_1.8.10-3ubuntu2_riscv64.deb ... Unpacking libip4tc2:riscv64 (1.8.10-3ubuntu2) over (1.8.9-2ubuntu2) ... Preparing to unpack .../12-libjansson4_2.14-2build2_riscv64.deb ... Unpacking libjansson4:riscv64 (2.14-2build2) over (2.14-2) ... Preparing to unpack .../13-psmisc_23.7-1build1_riscv64.deb ... Unpacking psmisc (23.7-1build1) over (23.6-1) ... Preparing to unpack .../14-xz-utils_5.6.1+really5.4.5-1_riscv64.deb ... Unpacking xz-utils (5.6.1+really5.4.5-1) over (5.4.1-0.2) ... Preparing to unpack .../15-advancecomp_2.5-1build1_riscv64.deb ... Unpacking advancecomp (2.5-1build1) over (2.5-1) ... Preparing to unpack .../16-libctf0_2.42-4ubuntu2_riscv64.deb ... Unpacking libctf0:riscv64 (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../17-libctf-nobfd0_2.42-4ubuntu2_riscv64.deb ... Unpacking libctf-nobfd0:riscv64 (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../18-binutils-riscv64-linux-gnu_2.42-4ubuntu2_riscv64.deb ... Unpacking binutils-riscv64-linux-gnu (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../19-libbinutils_2.42-4ubuntu2_riscv64.deb ... Unpacking libbinutils:riscv64 (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../20-binutils_2.42-4ubuntu2_riscv64.deb ... Unpacking binutils (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../21-binutils-common_2.42-4ubuntu2_riscv64.deb ... Unpacking binutils-common:riscv64 (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../22-libsframe1_2.42-4ubuntu2_riscv64.deb ... Unpacking libsframe1:riscv64 (2.42-4ubuntu2) over (2.41-5ubuntu1) ... Preparing to unpack .../23-libgomp1_14-20240412-0ubuntu1_riscv64.deb ... Unpacking libgomp1:riscv64 (14-20240412-0ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../24-libatomic1_14-20240412-0ubuntu1_riscv64.deb ... Unpacking libatomic1:riscv64 (14-20240412-0ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../25-libasan8_14-20240412-0ubuntu1_riscv64.deb ... Unpacking libasan8:riscv64 (14-20240412-0ubuntu1) over (13.2.0-4ubuntu3) ... Selecting previously unselected package libubsan1:riscv64. Preparing to unpack .../26-libubsan1_14-20240412-0ubuntu1_riscv64.deb ... Unpacking libubsan1:riscv64 (14-20240412-0ubuntu1) ... Preparing to unpack .../27-g++-13_13.2.0-23ubuntu4_riscv64.deb ... Unpacking g++-13 (13.2.0-23ubuntu4) over (13.2.0-4ubuntu3) ... Preparing to unpack .../28-gcc-13_13.2.0-23ubuntu4_riscv64.deb ... Unpacking gcc-13 (13.2.0-23ubuntu4) over (13.2.0-4ubuntu3) ... Preparing to unpack .../29-libstdc++-13-dev_13.2.0-23ubuntu4_riscv64.deb ... Unpacking libstdc++-13-dev:riscv64 (13.2.0-23ubuntu4) over (13.2.0-4ubuntu3) ... Preparing to unpack .../30-libgcc-13-dev_13.2.0-23ubuntu4_riscv64.deb ... Unpacking libgcc-13-dev:riscv64 (13.2.0-23ubuntu4) over (13.2.0-4ubuntu3) ... Preparing to unpack .../31-libcc1-0_14-20240412-0ubuntu1_riscv64.deb ... Unpacking libcc1-0:riscv64 (14-20240412-0ubuntu1) over (13.2.0-4ubuntu3) ... Preparing to unpack .../32-cpp-13_13.2.0-23ubuntu4_riscv64.deb ... Unpacking cpp-13 (13.2.0-23ubuntu4) over (13.2.0-4ubuntu3) ... Preparing to unpack .../33-gcc-13-base_13.2.0-23ubuntu4_riscv64.deb ... Unpacking gcc-13-base:riscv64 (13.2.0-23ubuntu4) over (13.2.0-4ubuntu3) ... Preparing to unpack .../34-libisl23_0.26-3build1_riscv64.deb ... Unpacking libisl23:riscv64 (0.26-3build1) over (0.26-3) ... Preparing to unpack .../35-libmpfr6_4.2.1-1build1_riscv64.deb ... Unpacking libmpfr6:riscv64 (4.2.1-1build1) over (4.2.1-1) ... Preparing to unpack .../36-libmpc3_1.3.1-1build1_riscv64.deb ... Unpacking libmpc3:riscv64 (1.3.1-1build1) over (1.3.1-1) ... Selecting previously unselected package gcc-13-riscv64-linux-gnu. Preparing to unpack .../37-gcc-13-riscv64-linux-gnu_13.2.0-23ubuntu4_riscv64.deb ... Unpacking gcc-13-riscv64-linux-gnu (13.2.0-23ubuntu4) ... Selecting previously unselected package g++-13-riscv64-linux-gnu. Preparing to unpack .../38-g++-13-riscv64-linux-gnu_13.2.0-23ubuntu4_riscv64.deb ... Unpacking g++-13-riscv64-linux-gnu (13.2.0-23ubuntu4) ... Selecting previously unselected package cpp-13-riscv64-linux-gnu. Preparing to unpack .../39-cpp-13-riscv64-linux-gnu_13.2.0-23ubuntu4_riscv64.deb ... Unpacking cpp-13-riscv64-linux-gnu (13.2.0-23ubuntu4) ... Preparing to unpack .../40-g++_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking g++ (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Preparing to unpack .../41-gcc_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking gcc (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Preparing to unpack .../42-cpp_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking cpp (4:13.2.0-7ubuntu1) over (4:13.2.0-1ubuntu1) ... Selecting previously unselected package cpp-riscv64-linux-gnu. Preparing to unpack .../43-cpp-riscv64-linux-gnu_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking cpp-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Selecting previously unselected package gcc-riscv64-linux-gnu. Preparing to unpack .../44-gcc-riscv64-linux-gnu_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking gcc-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Selecting previously unselected package g++-riscv64-linux-gnu. Preparing to unpack .../45-g++-riscv64-linux-gnu_4%3a13.2.0-7ubuntu1_riscv64.deb ... Unpacking g++-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Preparing to unpack .../46-dpkg-dev_1.22.6ubuntu6_all.deb ... Unpacking dpkg-dev (1.22.6ubuntu6) over (1.22.0ubuntu1) ... Preparing to unpack .../47-libdpkg-perl_1.22.6ubuntu6_all.deb ... Unpacking libdpkg-perl (1.22.6ubuntu6) over (1.22.0ubuntu1) ... Preparing to unpack .../48-patch_2.7.6-7build3_riscv64.deb ... Unpacking patch (2.7.6-7build3) over (2.7.6-7build2) ... Preparing to unpack .../49-make_4.3-4.1build2_riscv64.deb ... Unpacking make (4.3-4.1build2) over (4.3-4.1build1) ... Preparing to unpack .../50-lto-disabled-list_47_all.deb ... Unpacking lto-disabled-list (47) over (43) ... Preparing to unpack .../51-libfakeroot_1.33-1_riscv64.deb ... Unpacking libfakeroot:riscv64 (1.33-1) over (1.32.1-1) ... Preparing to unpack .../52-fakeroot_1.33-1_riscv64.deb ... Unpacking fakeroot (1.33-1) over (1.32.1-1) ... Preparing to unpack .../53-liblockfile-bin_1.17-1build3_riscv64.deb ... Unpacking liblockfile-bin (1.17-1build3) over (1.17-1build2) ... Preparing to unpack .../54-liblockfile1_1.17-1build3_riscv64.deb ... Unpacking liblockfile1:riscv64 (1.17-1build3) over (1.17-1build2) ... Preparing to unpack .../55-lockfile-progs_0.1.19build2_riscv64.deb ... Unpacking lockfile-progs (0.1.19build2) over (0.1.19build1) ... Setting up libip4tc2:riscv64 (1.8.10-3ubuntu2) ... Setting up libtext-iconv-perl:riscv64 (1.7-8build3) ... Setting up libtext-charwidth-perl:riscv64 (0.04-11build3) ... Setting up libkeyutils1:riscv64 (1.6.3-3build1) ... Setting up lto-disabled-list (47) ... Setting up libgpm2:riscv64 (1.20.7-11) ... Setting up liblockfile-bin (1.17-1build3) ... Setting up libgdbm6t64:riscv64 (1.23-5.1build1) ... Setting up bsdextrautils (2.39.3-9ubuntu6) ... Setting up init (1.66ubuntu1) ... Setting up libgdbm-compat4t64:riscv64 (1.23-5.1build1) ... Setting up psmisc (23.7-1build1) ... Setting up libtirpc-common (1.3.4+ds-1.1build1) ... Setting up libsqlite3-0:riscv64 (3.45.1-1ubuntu2) ... Setting up binutils-common:riscv64 (2.42-4ubuntu2) ... Setting up linux-libc-dev:riscv64 (6.8.0-31.31) ... Setting up libctf-nobfd0:riscv64 (2.42-4ubuntu2) ... Setting up krb5-locales (1.20.1-6ubuntu2) ... Setting up libgomp1:riscv64 (14-20240412-0ubuntu1) ... Setting up bzip2 (1.0.8-5.1) ... Setting up libsframe1:riscv64 (2.42-4ubuntu2) ... Setting up libfakeroot:riscv64 (1.33-1) ... Setting up libjansson4:riscv64 (2.14-2build2) ... Setting up libkrb5support0:riscv64 (1.20.1-6ubuntu2) ... Setting up tzdata (2024a-2ubuntu1) ... Current default time zone: 'Etc/UTC' Local time is now: Wed May 15 06:12:53 UTC 2024. Universal Time is now: Wed May 15 06:12:53 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fakeroot (1.33-1) ... Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... Setting up gcc-13-base:riscv64 (13.2.0-23ubuntu4) ... Setting up make (4.3-4.1build2) ... Setting up libmpfr6:riscv64 (4.2.1-1build1) ... Setting up bash-completion (1:2.11-8) ... Setting up xz-utils (5.6.1+really5.4.5-1) ... Setting up perl-modules-5.38 (5.38.2-3.2build2) ... Setting up libproc2-0:riscv64 (2:4.0.4-4ubuntu3) ... Setting up libpng16-16t64:riscv64 (1.6.43-5build1) ... Setting up libmpc3:riscv64 (1.3.1-1build1) ... Setting up libatomic1:riscv64 (14-20240412-0ubuntu1) ... Setting up patch (2.7.6-7build3) ... Setting up libss2:riscv64 (1.47.0-2.4~exp1ubuntu4) ... Setting up libncursesw6:riscv64 (6.4+20240113-1ubuntu2) ... Setting up libk5crypto3:riscv64 (1.20.1-6ubuntu2) ... Setting up logsave (1.47.0-2.4~exp1ubuntu4) ... Setting up libdb5.3t64:riscv64 (5.3.28+dfsg2-7) ... Setting up libubsan1:riscv64 (14-20240412-0ubuntu1) ... Setting up advancecomp (2.5-1build1) ... Setting up sensible-utils (0.0.22) ... Setting up uuid-runtime (2.39.3-9ubuntu6) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of restart. Setting up libcrypt-dev:riscv64 (1:4.4.36-4build1) ... Setting up libasan8:riscv64 (14-20240412-0ubuntu1) ... Setting up procps (2:4.0.4-4ubuntu3) ... Installing new version of config file /etc/sysctl.conf ... Setting up mawk (1.3.4.20240123-1build1) ... Setting up libkrb5-3:riscv64 (1.20.1-6ubuntu2) ... Setting up liblockfile1:riscv64 (1.17-1build3) ... Setting up libperl5.38t64:riscv64 (5.38.2-3.2build2) ... Setting up libbinutils:riscv64 (2.42-4ubuntu2) ... Setting up libisl23:riscv64 (0.26-3build1) ... Setting up libc-dev-bin (2.39-0ubuntu8) ... Setting up openssl (3.0.13-0ubuntu3) ... Setting up libgpg-error-l10n (1.47-3build2) ... Setting up readline-common (8.2-4build1) ... Setting up libcc1-0:riscv64 (14-20240412-0ubuntu1) ... Setting up liblocale-gettext-perl (1.07-6ubuntu5) ... Setting up libctf0:riscv64 (2.42-4ubuntu2) ... Setting up pinentry-curses (1.2.1-3ubuntu5) ... Setting up apt-utils (2.7.14build2) ... Setting up cpp-13-riscv64-linux-gnu (13.2.0-23ubuntu4) ... Setting up binutils-riscv64-linux-gnu (2.42-4ubuntu2) ... Setting up debconf-i18n (1.5.86ubuntu1) ... Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu4) ... Setting up binutils (2.42-4ubuntu2) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 14 added, 5 removed; done. Setting up perl (5.38.2-3.2build2) ... Setting up optipng (0.7.8+ds-1build2) ... Setting up lockfile-progs (0.1.19build2) ... Setting up libgssapi-krb5-2:riscv64 (1.20.1-6ubuntu2) ... Setting up libdpkg-perl (1.22.6ubuntu6) ... Setting up libreadline8t64:riscv64 (8.2-4build1) ... Setting up libgcc-13-dev:riscv64 (13.2.0-23ubuntu4) ... Setting up gpgconf (2.4.4-2ubuntu17) ... Setting up libc6-dev:riscv64 (2.39-0ubuntu8) ... Setting up cpp-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up gpg (2.4.4-2ubuntu17) ... Setting up libstdc++-13-dev:riscv64 (13.2.0-23ubuntu4) ... Setting up gpg-agent (2.4.4-2ubuntu17) ... Setting up cpp-13 (13.2.0-23ubuntu4) ... Setting up libtirpc3t64:riscv64 (1.3.4+ds-1.1build1) ... Setting up gcc-13-riscv64-linux-gnu (13.2.0-23ubuntu4) ... Setting up dpkg-dev (1.22.6ubuntu6) ... Setting up gcc-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up libtirpc-dev:riscv64 (1.3.4+ds-1.1build1) ... Setting up gcc-13 (13.2.0-23ubuntu4) ... Setting up cpp (4:13.2.0-7ubuntu1) ... Setting up libnsl2:riscv64 (1.3.0-3build3) ... Setting up g++-13-riscv64-linux-gnu (13.2.0-23ubuntu4) ... Setting up g++-13 (13.2.0-23ubuntu4) ... Setting up libnss-nisplus:riscv64 (1.3-5build1) ... Setting up gcc (4:13.2.0-7ubuntu1) ... Setting up g++-riscv64-linux-gnu (4:13.2.0-7ubuntu1) ... Setting up libnss-nis:riscv64 (3.1-0ubuntu7) ... Setting up g++ (4:13.2.0-7ubuntu1) ... Setting up libnsl-dev:riscv64 (1.3.0-3build3) ... Processing triggers for libc-bin (2.39-0ubuntu8) ... Processing triggers for debianutils (5.17build1) ... (Reading database ... 15729 files and directories currently installed.) Purging configuration files for libssl3:riscv64 (3.0.10-1ubuntu2) ... Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-28273436 riscv64 noble -c chroot:build-PACKAGEBUILD-28273436 --arch=riscv64 --dist=noble --nolog ufoai_2.5-7build3.dsc Initiating build PACKAGEBUILD-28273436 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 6.5.0-28-generic #29.1~22.04.1-Ubuntu SMP Wed Apr 10 02:20:48 UTC 2024 riscv64 sbuild (Debian sbuild) 0.81.2ubuntu6 (16 February 2022) on bos03-riscv64-110.buildd +==============================================================================+ | ufoai 2.5-7build3 (riscv64) Wed, 15 May 2024 06:16:17 +0000 | +==============================================================================+ Package: ufoai Version: 2.5-7build3 Source Version: 2.5-7build3 Distribution: noble Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-28273436/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/ufoai-YxEBVe/resolver-3Mkhfc' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- ufoai_2.5-7build3.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/ufoai-YxEBVe/ufoai-2.5' with '<>' I: NOTICE: Log filtering will replace 'build/ufoai-YxEBVe' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: bash-completion, debhelper-compat (= 13), dpkg-dev (>= 1.17.1~), gettext, libcunit1-dev, libcurl4-gnutls-dev | libcurl4-openssl-dev | libcurl-dev, libglib2.0-dev, libjpeg-dev, libmxml-dev, libogg-dev, libopenal-dev, libpng-dev, libsdl2-mixer-dev, libsdl2-ttf-dev, libsdl2-dev, libtheora-dev, libvorbis-dev, libxml2-dev, libxvidcore-dev, pkg-config, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended, zip, zlib1g-dev, build-essential, fakeroot Filtered Build-Depends: bash-completion, debhelper-compat (= 13), dpkg-dev (>= 1.17.1~), gettext, libcunit1-dev, libcurl4-gnutls-dev | libcurl4-openssl-dev | libcurl-dev, libglib2.0-dev, libjpeg-dev, libmxml-dev, libogg-dev, libopenal-dev, libpng-dev, libsdl2-mixer-dev, libsdl2-ttf-dev, libsdl2-dev, libtheora-dev, libvorbis-dev, libxml2-dev, libxvidcore-dev, pkg-config, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended, zip, zlib1g-dev, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [963 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [539 B] Get:5 copy:/<>/apt_archive ./ Packages [627 B] Fetched 2129 B in 1s (4102 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: apt-utils ca-certificates debconf-i18n krb5-locales libgpg-error-l10n libgpm2 libip4tc2 liblocale-gettext-perl libnsl-dev libnsl2 libnss-nis libnss-nisplus libperl5.36 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtirpc-common libtirpc-dev libtirpc3t64 libunistring2 openssl perl-modules-5.36 psmisc uuid-runtime Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file fontconfig-config fonts-dejavu-core fonts-dejavu-mono fonts-lmodern gettext gettext-base gir1.2-freedesktop gir1.2-freedesktop-dev gir1.2-glib-2.0 gir1.2-glib-2.0-dev gir1.2-harfbuzz-0.0 gir1.2-ibus-1.0 groff-base icu-devtools intltool-debian libapache-pom-java libarchive-zip-perl libasound2-data libasound2-dev libasound2t64 libasyncns0 libblkid-dev libbrotli-dev libbrotli1 libbsd0 libbz2-dev libcairo-gobject2 libcairo2 libcommons-logging-java libcommons-parent-java libcunit1 libcunit1-dev libcurl3t64-gnutls libcurl4-gnutls-dev libdbus-1-3 libdbus-1-dev libdebhelper-perl libdecor-0-0 libdecor-0-dev libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1t64 libedit2 libegl-dev libegl-mesa0 libegl1 libelf1t64 libexpat1 libffi-dev libfile-stripnondeterminism-perl libflac-dev libflac12t64 libfluidsynth-dev libfluidsynth3 libfontbox-java libfontconfig1 libfreetype-dev libfreetype6 libgbm-dev libgbm1 libgirepository-2.0-0 libgl-dev libgl1 libgl1-mesa-dri libglapi-mesa libgles-dev libgles1 libgles2 libglib2.0-0t64 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libglvnd0 libglx-dev libglx-mesa0 libglx0 libgraphite2-3 libgraphite2-dev libharfbuzz-cairo0 libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0 libharfbuzz-subset0 libharfbuzz0b libibus-1.0-5 libibus-1.0-dev libice-dev libice6 libicu-dev libicu74 libinstpatch-1.0-2 libinstpatch-dev libjack-dev libjack0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libkpathsea6 libldap2 libllvm17t64 libmagic-mgc libmagic1t64 libmodplug-dev libmodplug1 libmount-dev libmp3lame0 libmpg123-0t64 libmpg123-dev libmxml-dev libmxml1 libncurses-dev libncurses6 libnghttp2-14 libogg-dev libogg0 libopenal-data libopenal-dev libopenal1 libopus-dev libopus0 libopusfile-dev libopusfile0 libout123-0t64 libpaper-utils libpaper1 libpciaccess-dev libpciaccess0 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpdfbox-java libpipeline1 libpipewire-0.3-0t64 libpipewire-0.3-dev libpixman-1-0 libpkgconf3 libpng-dev libpotrace0 libpsl5t64 libptexenc1 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libpulse0 libpython3-stdlib libpython3.12-minimal libpython3.12-stdlib libreadline-dev librtmp1 libsamplerate0 libsamplerate0-dev libsasl2-2 libsasl2-modules-db libsdl2-2.0-0 libsdl2-dev libsdl2-mixer-2.0-0 libsdl2-mixer-dev libsdl2-ttf-2.0-0 libsdl2-ttf-dev libselinux1-dev libsensors-config libsensors5 libsepol-dev libsm-dev libsm6 libsndfile1 libsndfile1-dev libsndio-dev libsndio7.0 libspa-0.2-dev libspa-0.2-modules libssh-4 libsub-override-perl libsyn123-0t64 libsynctex2 libsystemd-dev libteckit0 libtexlua53-5 libtheora-dev libtheora0 libtool libuchardet0 libudev-dev libvorbis-dev libvorbis0a libvorbisenc2 libvorbisfile3 libvulkan1 libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev libwayland-egl1 libwayland-server0 libwebrtc-audio-processing1 libx11-6 libx11-data libx11-dev libx11-xcb1 libxau-dev libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxcb1-dev libxcursor-dev libxcursor1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxi-dev libxi6 libxinerama-dev libxinerama1 libxkbcommon-dev libxkbcommon0 libxml2 libxml2-dev libxmu6 libxpm4 libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxshmfence1 libxss-dev libxss1 libxt-dev libxt6t64 libxv-dev libxv1 libxvidcore-dev libxvidcore4 libxxf86vm-dev libxxf86vm1 libzzip-0-13t64 m4 man-db media-types netbase pkgconf pkgconf-bin po-debconf preview-latex-style python3 python3-minimal python3-packaging python3.12 python3.12-minimal sgml-base t1utils tex-common texlive-base texlive-binaries texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures timgm6mb-soundfont ucf uuid-dev x11-common x11proto-dev xdg-utils xkb-data xml-core xorg-sgml-doctools xtrans-dev zip zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc libasprintf-dev libgettextpo-dev groff alsa-utils libasound2-doc libasound2-plugins libavalon-framework-java libexcalibur-logkit-java liblog4j1.2-java libcunit1-doc libcurl4-doc libgnutls28-dev libidn-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev freetype2-doc low-memory-monitor libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils libgraphite2-utils libice-doc icu-doc jackd1 ncurses-doc libportaudio2 opus-tools pciutils pipewire pipewire-doc pulseaudio readline-doc lm-sensors libsm-doc sndiod libtool-doc gfortran | fortran95-compiler gcj-jdk libwayland-doc libx11-doc libxcb-doc libxext-doc libxt-doc m4-doc apparmor less www-browser libmail-box-perl python3-doc python3-tk python3-venv python3.12-venv python3.12-doc binfmt-support sgml-base-doc ghostscript gv | postscript-viewer perl-tk xpdf | pdf-viewer xzdec hintview texlive-latex-base-doc wp2latex python3-pygments icc-profiles libfile-which-perl texlive-latex-extra-doc texlive-science texlive-latex-recommended-doc texlive-luatex texlive-pstricks dot2tex prerex texlive-pictures-doc vprerex fluid-soundfont-gm Recommended packages: curl | wget | lynx alsa-ucm-conf alsa-topology-conf bzip2-doc dbus default-libdecor-0-plugin-1 | libdecor-0-plugin-1 libarchive-cpio-perl libgl1-amber-dri shared-mime-info xdg-user-dirs libldap-common libmxml-bin libssl-dev libpipewire-0.3-common libpng-tools publicsuffix libsasl2-modules libltdl-dev mesa-vulkan-drivers | vulkan-icd libmail-sendmail-perl lmodern dvisvgm default-jre libspreadsheet-parseexcel-perl texlive-fonts-recommended texlive-plain-generic ruby tk libfile-mimeinfo-perl libnet-dbus-perl libx11-protocol-perl x11-utils x11-xserver-utils unzip The following NEW packages will be installed: autoconf automake autopoint autotools-dev debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file fontconfig-config fonts-dejavu-core fonts-dejavu-mono fonts-lmodern gettext gettext-base gir1.2-freedesktop gir1.2-freedesktop-dev gir1.2-glib-2.0 gir1.2-glib-2.0-dev gir1.2-harfbuzz-0.0 gir1.2-ibus-1.0 groff-base icu-devtools intltool-debian libapache-pom-java libarchive-zip-perl libasound2-data libasound2-dev libasound2t64 libasyncns0 libblkid-dev libbrotli-dev libbrotli1 libbsd0 libbz2-dev libcairo-gobject2 libcairo2 libcommons-logging-java libcommons-parent-java libcunit1 libcunit1-dev libcurl3t64-gnutls libcurl4-gnutls-dev libdbus-1-3 libdbus-1-dev libdebhelper-perl libdecor-0-0 libdecor-0-dev libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1t64 libedit2 libegl-dev libegl-mesa0 libegl1 libelf1t64 libexpat1 libffi-dev libfile-stripnondeterminism-perl libflac-dev libflac12t64 libfluidsynth-dev libfluidsynth3 libfontbox-java libfontconfig1 libfreetype-dev libfreetype6 libgbm-dev libgbm1 libgirepository-2.0-0 libgl-dev libgl1 libgl1-mesa-dri libglapi-mesa libgles-dev libgles1 libgles2 libglib2.0-0t64 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libglvnd0 libglx-dev libglx-mesa0 libglx0 libgraphite2-3 libgraphite2-dev libharfbuzz-cairo0 libharfbuzz-dev libharfbuzz-gobject0 libharfbuzz-icu0 libharfbuzz-subset0 libharfbuzz0b libibus-1.0-5 libibus-1.0-dev libice-dev libice6 libicu-dev libicu74 libinstpatch-1.0-2 libinstpatch-dev libjack-dev libjack0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libkpathsea6 libldap2 libllvm17t64 libmagic-mgc libmagic1t64 libmodplug-dev libmodplug1 libmount-dev libmp3lame0 libmpg123-0t64 libmpg123-dev libmxml-dev libmxml1 libncurses-dev libncurses6 libnghttp2-14 libogg-dev libogg0 libopenal-data libopenal-dev libopenal1 libopus-dev libopus0 libopusfile-dev libopusfile0 libout123-0t64 libpaper-utils libpaper1 libpciaccess-dev libpciaccess0 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpdfbox-java libpipeline1 libpipewire-0.3-0t64 libpipewire-0.3-dev libpixman-1-0 libpkgconf3 libpng-dev libpotrace0 libpsl5t64 libptexenc1 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libpulse0 libpython3-stdlib libpython3.12-minimal libpython3.12-stdlib libreadline-dev librtmp1 libsamplerate0 libsamplerate0-dev libsasl2-2 libsasl2-modules-db libsdl2-2.0-0 libsdl2-dev libsdl2-mixer-2.0-0 libsdl2-mixer-dev libsdl2-ttf-2.0-0 libsdl2-ttf-dev libselinux1-dev libsensors-config libsensors5 libsepol-dev libsm-dev libsm6 libsndfile1 libsndfile1-dev libsndio-dev libsndio7.0 libspa-0.2-dev libspa-0.2-modules libssh-4 libsub-override-perl libsyn123-0t64 libsynctex2 libsystemd-dev libteckit0 libtexlua53-5 libtheora-dev libtheora0 libtool libuchardet0 libudev-dev libvorbis-dev libvorbis0a libvorbisenc2 libvorbisfile3 libvulkan1 libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev libwayland-egl1 libwayland-server0 libwebrtc-audio-processing1 libx11-6 libx11-data libx11-dev libx11-xcb1 libxau-dev libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxcb1-dev libxcursor-dev libxcursor1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxi-dev libxi6 libxinerama-dev libxinerama1 libxkbcommon-dev libxkbcommon0 libxml2 libxml2-dev libxmu6 libxpm4 libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxshmfence1 libxss-dev libxss1 libxt-dev libxt6t64 libxv-dev libxv1 libxvidcore-dev libxvidcore4 libxxf86vm-dev libxxf86vm1 libzzip-0-13t64 m4 man-db media-types netbase pkgconf pkgconf-bin po-debconf preview-latex-style python3 python3-minimal python3-packaging python3.12 python3.12-minimal sbuild-build-depends-main-dummy sgml-base t1utils tex-common texlive-base texlive-binaries texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures timgm6mb-soundfont ucf uuid-dev x11-common x11proto-dev xdg-utils xkb-data xml-core xorg-sgml-doctools xtrans-dev zip zlib1g-dev 0 upgraded, 300 newly installed, 0 to remove and 0 not upgraded. Need to get 224 MB of archives. After this operation, 952 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [840 B] Get:2 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.12-minimal riscv64 3.12.3-1 [829 kB] Get:3 http://ftpmaster.internal/ubuntu noble/main riscv64 libexpat1 riscv64 2.6.1-2build1 [86.0 kB] Get:4 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.12-minimal riscv64 3.12.3-1 [2343 kB] Get:5 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-minimal riscv64 3.12.3-0ubuntu1 [27.2 kB] Get:6 http://ftpmaster.internal/ubuntu noble/main riscv64 media-types all 10.1.0 [27.5 kB] Get:7 http://ftpmaster.internal/ubuntu noble/main riscv64 netbase all 6.4 [13.1 kB] Get:8 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3.12-stdlib riscv64 3.12.3-1 [2024 kB] Get:9 http://ftpmaster.internal/ubuntu noble/main riscv64 python3.12 riscv64 3.12.3-1 [651 kB] Get:10 http://ftpmaster.internal/ubuntu noble/main riscv64 libpython3-stdlib riscv64 3.12.3-0ubuntu1 [9896 B] Get:11 http://ftpmaster.internal/ubuntu noble/main riscv64 python3 riscv64 3.12.3-0ubuntu1 [24.1 kB] Get:12 http://ftpmaster.internal/ubuntu noble/main riscv64 sgml-base all 1.31 [11.4 kB] Get:13 http://ftpmaster.internal/ubuntu noble/main riscv64 libglib2.0-0t64 riscv64 2.80.0-6ubuntu1 [1397 kB] Get:14 http://ftpmaster.internal/ubuntu noble/main riscv64 gir1.2-glib-2.0 riscv64 2.80.0-6ubuntu1 [182 kB] Get:15 http://ftpmaster.internal/ubuntu noble/main riscv64 libbsd0 riscv64 0.12.1-1build1 [43.9 kB] Get:16 http://ftpmaster.internal/ubuntu noble/main riscv64 libdbus-1-3 riscv64 1.14.10-4ubuntu4 [224 kB] Get:17 http://ftpmaster.internal/ubuntu noble/main riscv64 libelf1t64 riscv64 0.190-1.1build4 [63.5 kB] Get:18 http://ftpmaster.internal/ubuntu noble/main riscv64 libglib2.0-data all 2.80.0-6ubuntu1 [48.1 kB] Get:19 http://ftpmaster.internal/ubuntu noble/main riscv64 libicu74 riscv64 74.2-1ubuntu3 [10.9 MB] Get:20 http://ftpmaster.internal/ubuntu noble/main riscv64 libxml2 riscv64 2.9.14+dfsg-1.3ubuntu3 [719 kB] Get:21 http://ftpmaster.internal/ubuntu noble/main riscv64 ucf all 3.0043+nmu1 [56.5 kB] Get:22 http://ftpmaster.internal/ubuntu noble/main riscv64 xkb-data all 2.41-2ubuntu1 [395 kB] Get:23 http://ftpmaster.internal/ubuntu noble/main riscv64 libmagic-mgc riscv64 1:5.45-3build1 [307 kB] Get:24 http://ftpmaster.internal/ubuntu noble/main riscv64 libmagic1t64 riscv64 1:5.45-3build1 [96.4 kB] Get:25 http://ftpmaster.internal/ubuntu noble/main riscv64 file riscv64 1:5.45-3build1 [21.9 kB] Get:26 http://ftpmaster.internal/ubuntu noble/main riscv64 gettext-base riscv64 0.21-14ubuntu2 [42.6 kB] Get:27 http://ftpmaster.internal/ubuntu noble/main riscv64 libuchardet0 riscv64 0.0.8-1build1 [77.8 kB] Get:28 http://ftpmaster.internal/ubuntu noble/main riscv64 groff-base riscv64 1.23.0-3build2 [1031 kB] Get:29 http://ftpmaster.internal/ubuntu noble/main riscv64 libdrm-common all 2.4.120-2build1 [8096 B] Get:30 http://ftpmaster.internal/ubuntu noble/main riscv64 libdrm2 riscv64 2.4.120-2build1 [44.5 kB] Get:31 http://ftpmaster.internal/ubuntu noble/main riscv64 libedit2 riscv64 3.1-20230828-1build1 [96.7 kB] Get:32 http://ftpmaster.internal/ubuntu noble/main riscv64 libncurses6 riscv64 6.4+20240113-1ubuntu2 [116 kB] Get:33 http://ftpmaster.internal/ubuntu noble/main riscv64 libnghttp2-14 riscv64 1.59.0-1build4 [85.6 kB] Get:34 http://ftpmaster.internal/ubuntu noble/main riscv64 libpipeline1 riscv64 1.5.7-2 [30.9 kB] Get:35 http://ftpmaster.internal/ubuntu noble/main riscv64 libpsl5t64 riscv64 0.21.2-1.1build1 [57.9 kB] Get:36 http://ftpmaster.internal/ubuntu noble/main riscv64 libsensors-config all 1:3.6.0-9build1 [5546 B] Get:37 http://ftpmaster.internal/ubuntu noble/main riscv64 libsensors5 riscv64 1:3.6.0-9build1 [28.1 kB] Get:38 http://ftpmaster.internal/ubuntu noble/main riscv64 libxau6 riscv64 1:1.0.9-1build6 [7318 B] Get:39 http://ftpmaster.internal/ubuntu noble/main riscv64 libxdmcp6 riscv64 1:1.1.3-0ubuntu6 [11.0 kB] Get:40 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb1 riscv64 1.15-1ubuntu2 [52.7 kB] Get:41 http://ftpmaster.internal/ubuntu noble/main riscv64 libx11-data all 2:1.8.7-1build1 [115 kB] Get:42 http://ftpmaster.internal/ubuntu noble/main riscv64 libx11-6 riscv64 2:1.8.7-1build1 [677 kB] Get:43 http://ftpmaster.internal/ubuntu noble/main riscv64 libxext6 riscv64 2:1.3.4-1build2 [33.2 kB] Get:44 http://ftpmaster.internal/ubuntu noble/main riscv64 libxkbcommon0 riscv64 1.6.0-1build1 [124 kB] Get:45 http://ftpmaster.internal/ubuntu noble/main riscv64 man-db riscv64 2.12.0-4build2 [1226 kB] Get:46 http://ftpmaster.internal/ubuntu noble/main riscv64 m4 riscv64 1.4.19-4build1 [264 kB] Get:47 http://ftpmaster.internal/ubuntu noble/main riscv64 autoconf all 2.71-3 [339 kB] Get:48 http://ftpmaster.internal/ubuntu noble/main riscv64 autotools-dev all 20220109.1 [44.9 kB] Get:49 http://ftpmaster.internal/ubuntu noble/main riscv64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] Get:50 http://ftpmaster.internal/ubuntu noble/main riscv64 autopoint all 0.21-14ubuntu2 [422 kB] Get:51 http://ftpmaster.internal/ubuntu noble/main riscv64 libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] Get:52 http://ftpmaster.internal/ubuntu noble/main riscv64 libtool all 2.4.7-7build1 [166 kB] Get:53 http://ftpmaster.internal/ubuntu noble/main riscv64 dh-autoreconf all 20 [16.1 kB] Get:54 http://ftpmaster.internal/ubuntu noble/main riscv64 libarchive-zip-perl all 1.68-1 [90.2 kB] Get:55 http://ftpmaster.internal/ubuntu noble/main riscv64 libsub-override-perl all 0.10-1 [10.0 kB] Get:56 http://ftpmaster.internal/ubuntu noble/main riscv64 libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] Get:57 http://ftpmaster.internal/ubuntu noble/main riscv64 dh-strip-nondeterminism all 1.13.1-1 [5362 B] Get:58 http://ftpmaster.internal/ubuntu noble/main riscv64 libdw1t64 riscv64 0.190-1.1build4 [275 kB] Get:59 http://ftpmaster.internal/ubuntu noble/main riscv64 debugedit riscv64 1:5.0-5build2 [49.2 kB] Get:60 http://ftpmaster.internal/ubuntu noble/main riscv64 dwz riscv64 0.15-1build6 [125 kB] Get:61 http://ftpmaster.internal/ubuntu noble/main riscv64 gettext riscv64 0.21-14ubuntu2 [875 kB] Get:62 http://ftpmaster.internal/ubuntu noble/main riscv64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] Get:63 http://ftpmaster.internal/ubuntu noble/main riscv64 po-debconf all 1.0.21+nmu1 [233 kB] Get:64 http://ftpmaster.internal/ubuntu noble/main riscv64 debhelper all 13.14.1ubuntu5 [869 kB] Get:65 http://ftpmaster.internal/ubuntu noble/main riscv64 fonts-dejavu-mono all 2.37-8 [502 kB] Get:66 http://ftpmaster.internal/ubuntu noble/main riscv64 fonts-dejavu-core all 2.37-8 [835 kB] Get:67 http://ftpmaster.internal/ubuntu noble/main riscv64 fontconfig-config riscv64 2.15.0-1.1ubuntu2 [37.4 kB] Get:68 http://ftpmaster.internal/ubuntu noble/universe riscv64 fonts-lmodern all 2.005-1 [4799 kB] Get:69 http://ftpmaster.internal/ubuntu noble/main riscv64 libbrotli1 riscv64 1.1.0-2build2 [389 kB] Get:70 http://ftpmaster.internal/ubuntu noble/main riscv64 libfreetype6 riscv64 2.13.2+dfsg-1build3 [430 kB] Get:71 http://ftpmaster.internal/ubuntu noble/main riscv64 libfontconfig1 riscv64 2.15.0-1.1ubuntu2 [145 kB] Get:72 http://ftpmaster.internal/ubuntu noble/main riscv64 libpixman-1-0 riscv64 0.42.2-1build1 [201 kB] Get:73 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-render0 riscv64 1.15-1ubuntu2 [17.1 kB] Get:74 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-shm0 riscv64 1.15-1ubuntu2 [5960 B] Get:75 http://ftpmaster.internal/ubuntu noble/main riscv64 libxrender1 riscv64 1:0.9.10-1.1build1 [20.1 kB] Get:76 http://ftpmaster.internal/ubuntu noble/main riscv64 libcairo2 riscv64 1.18.0-3build1 [614 kB] Get:77 http://ftpmaster.internal/ubuntu noble/main riscv64 libcairo-gobject2 riscv64 1.18.0-3build1 [126 kB] Get:78 http://ftpmaster.internal/ubuntu noble/main riscv64 gir1.2-freedesktop riscv64 1.80.1-1 [49.7 kB] Get:79 http://ftpmaster.internal/ubuntu noble/main riscv64 gir1.2-glib-2.0-dev riscv64 2.80.0-6ubuntu1 [848 kB] Get:80 http://ftpmaster.internal/ubuntu noble/main riscv64 gir1.2-freedesktop-dev riscv64 1.80.1-1 [28.8 kB] Get:81 http://ftpmaster.internal/ubuntu noble/main riscv64 libgraphite2-3 riscv64 1.3.14-2build1 [83.1 kB] Get:82 http://ftpmaster.internal/ubuntu noble/main riscv64 libharfbuzz0b riscv64 8.3.0-2build2 [576 kB] Get:83 http://ftpmaster.internal/ubuntu noble/main riscv64 libharfbuzz-gobject0 riscv64 8.3.0-2build2 [31.7 kB] Get:84 http://ftpmaster.internal/ubuntu noble/main riscv64 gir1.2-harfbuzz-0.0 riscv64 8.3.0-2build2 [44.5 kB] Get:85 http://ftpmaster.internal/ubuntu noble/main riscv64 libibus-1.0-5 riscv64 1.5.29-2 [188 kB] Get:86 http://ftpmaster.internal/ubuntu noble/main riscv64 gir1.2-ibus-1.0 riscv64 1.5.29-2 [86.3 kB] Get:87 http://ftpmaster.internal/ubuntu noble/main riscv64 icu-devtools riscv64 74.2-1ubuntu3 [225 kB] Get:88 http://ftpmaster.internal/ubuntu noble/universe riscv64 libapache-pom-java all 29-2 [5284 B] Get:89 http://ftpmaster.internal/ubuntu noble/main riscv64 libasound2-data all 1.2.11-1build2 [21.0 kB] Get:90 http://ftpmaster.internal/ubuntu noble/main riscv64 libasound2t64 riscv64 1.2.11-1build2 [426 kB] Get:91 http://ftpmaster.internal/ubuntu noble/main riscv64 libasound2-dev riscv64 1.2.11-1build2 [115 kB] Get:92 http://ftpmaster.internal/ubuntu noble/main riscv64 libasyncns0 riscv64 0.8-6build4 [11.7 kB] Get:93 http://ftpmaster.internal/ubuntu noble/main riscv64 libbrotli-dev riscv64 1.1.0-2build2 [1005 kB] Get:94 http://ftpmaster.internal/ubuntu noble/main riscv64 libbz2-dev riscv64 1.0.8-5.1 [86.8 kB] Get:95 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcommons-parent-java all 56-1 [10.7 kB] Get:96 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcommons-logging-java all 1.3.0-1ubuntu1 [63.8 kB] Get:97 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcunit1 riscv64 2.1-3-dfsg-2.7 [28.5 kB] Get:98 http://ftpmaster.internal/ubuntu noble/universe riscv64 libcunit1-dev riscv64 2.1-3-dfsg-2.7 [97.8 kB] Get:99 http://ftpmaster.internal/ubuntu noble/main riscv64 libsasl2-modules-db riscv64 2.1.28+dfsg1-5ubuntu3 [22.2 kB] Get:100 http://ftpmaster.internal/ubuntu noble/main riscv64 libsasl2-2 riscv64 2.1.28+dfsg1-5ubuntu3 [62.3 kB] Get:101 http://ftpmaster.internal/ubuntu noble/main riscv64 libldap2 riscv64 2.6.7+dfsg-1~exp1ubuntu8 [207 kB] Get:102 http://ftpmaster.internal/ubuntu noble/main riscv64 librtmp1 riscv64 2.4+20151223.gitfa8646d.1-2build7 [58.8 kB] Get:103 http://ftpmaster.internal/ubuntu noble/main riscv64 libssh-4 riscv64 0.10.6-2build2 [202 kB] Get:104 http://ftpmaster.internal/ubuntu noble/main riscv64 libcurl3t64-gnutls riscv64 8.5.0-2ubuntu10 [347 kB] Get:105 http://ftpmaster.internal/ubuntu noble/main riscv64 libcurl4-gnutls-dev riscv64 8.5.0-2ubuntu10 [1097 kB] Get:106 http://ftpmaster.internal/ubuntu noble/main riscv64 libpkgconf3 riscv64 1.8.1-2build1 [31.5 kB] Get:107 http://ftpmaster.internal/ubuntu noble/main riscv64 pkgconf-bin riscv64 1.8.1-2build1 [21.5 kB] Get:108 http://ftpmaster.internal/ubuntu noble/main riscv64 pkgconf riscv64 1.8.1-2build1 [16.8 kB] Get:109 http://ftpmaster.internal/ubuntu noble/main riscv64 xml-core all 0.19 [20.3 kB] Get:110 http://ftpmaster.internal/ubuntu noble/main riscv64 libdbus-1-dev riscv64 1.14.10-4ubuntu4 [480 kB] Get:111 http://ftpmaster.internal/ubuntu noble/main riscv64 libwayland-client0 riscv64 1.22.0-2.1build1 [28.3 kB] Get:112 http://ftpmaster.internal/ubuntu noble/main riscv64 libdecor-0-0 riscv64 0.2.2-1build2 [16.5 kB] Get:113 http://ftpmaster.internal/ubuntu noble/main riscv64 libwayland-server0 riscv64 1.22.0-2.1build1 [36.6 kB] Get:114 http://ftpmaster.internal/ubuntu noble/main riscv64 libwayland-cursor0 riscv64 1.22.0-2.1build1 [10.6 kB] Get:115 http://ftpmaster.internal/ubuntu noble/main riscv64 libwayland-egl1 riscv64 1.22.0-2.1build1 [5524 B] Get:116 http://ftpmaster.internal/ubuntu noble/main riscv64 libwayland-bin riscv64 1.22.0-2.1build1 [21.9 kB] Get:117 http://ftpmaster.internal/ubuntu noble/main riscv64 libffi-dev riscv64 3.4.6-1build1 [88.5 kB] Get:118 http://ftpmaster.internal/ubuntu noble/main riscv64 libwayland-dev riscv64 1.22.0-2.1build1 [71.3 kB] Get:119 http://ftpmaster.internal/ubuntu noble/main riscv64 libdecor-0-dev riscv64 0.2.2-1build2 [5720 B] Get:120 http://ftpmaster.internal/ubuntu noble/main riscv64 libdrm-amdgpu1 riscv64 2.4.120-2build1 [21.3 kB] Get:121 http://ftpmaster.internal/ubuntu noble/main riscv64 libdrm-radeon1 riscv64 2.4.120-2build1 [23.2 kB] Get:122 http://ftpmaster.internal/ubuntu noble/main riscv64 libdrm-nouveau2 riscv64 2.4.120-2build1 [18.2 kB] Get:123 http://ftpmaster.internal/ubuntu noble/main riscv64 libpciaccess0 riscv64 0.17-3build1 [19.8 kB] Get:124 http://ftpmaster.internal/ubuntu noble/main riscv64 libpciaccess-dev riscv64 0.17-3build1 [47.0 kB] Get:125 http://ftpmaster.internal/ubuntu noble/main riscv64 libdrm-dev riscv64 2.4.120-2build1 [375 kB] Get:126 http://ftpmaster.internal/ubuntu noble/main riscv64 libglvnd0 riscv64 1.7.0-1build1 [98.9 kB] Get:127 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-randr0 riscv64 1.15-1ubuntu2 [18.9 kB] Get:128 http://ftpmaster.internal/ubuntu noble/main riscv64 libgbm1 riscv64 24.0.5-1ubuntu1 [45.9 kB] Get:129 http://ftpmaster.internal/ubuntu noble/main riscv64 libglapi-mesa riscv64 24.0.5-1ubuntu1 [59.8 kB] Get:130 http://ftpmaster.internal/ubuntu noble/main riscv64 libx11-xcb1 riscv64 2:1.8.7-1build1 [7680 B] Get:131 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-dri2-0 riscv64 1.15-1ubuntu2 [7370 B] Get:132 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-dri3-0 riscv64 1.15-1ubuntu2 [7152 B] Get:133 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-present0 riscv64 1.15-1ubuntu2 [5768 B] Get:134 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-sync1 riscv64 1.15-1ubuntu2 [9642 B] Get:135 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-xfixes0 riscv64 1.15-1ubuntu2 [10.6 kB] Get:136 http://ftpmaster.internal/ubuntu noble/main riscv64 libxshmfence1 riscv64 1.3-1build5 [4704 B] Get:137 http://ftpmaster.internal/ubuntu noble/main riscv64 libegl-mesa0 riscv64 24.0.5-1ubuntu1 [122 kB] Get:138 http://ftpmaster.internal/ubuntu noble/main riscv64 libegl1 riscv64 1.7.0-1build1 [38.5 kB] Get:139 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb-glx0 riscv64 1.15-1ubuntu2 [26.1 kB] Get:140 http://ftpmaster.internal/ubuntu noble/main riscv64 libxfixes3 riscv64 1:6.0.0-2build1 [11.4 kB] Get:141 http://ftpmaster.internal/ubuntu noble/main riscv64 libxxf86vm1 riscv64 1:1.1.4-1build4 [10.3 kB] Get:142 http://ftpmaster.internal/ubuntu noble/main riscv64 libvulkan1 riscv64 1.3.275.0-1build1 [153 kB] Get:143 http://ftpmaster.internal/ubuntu noble/main riscv64 libllvm17t64 riscv64 1:17.0.6-9ubuntu1 [25.6 MB] Get:144 http://ftpmaster.internal/ubuntu noble/main riscv64 libgl1-mesa-dri riscv64 24.0.5-1ubuntu1 [6746 kB] Get:145 http://ftpmaster.internal/ubuntu noble/main riscv64 libglx-mesa0 riscv64 24.0.5-1ubuntu1 [187 kB] Get:146 http://ftpmaster.internal/ubuntu noble/main riscv64 libglx0 riscv64 1.7.0-1build1 [32.5 kB] Get:147 http://ftpmaster.internal/ubuntu noble/main riscv64 libgl1 riscv64 1.7.0-1build1 [138 kB] Get:148 http://ftpmaster.internal/ubuntu noble/main riscv64 xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] Get:149 http://ftpmaster.internal/ubuntu noble/main riscv64 x11proto-dev all 2023.2-1 [602 kB] Get:150 http://ftpmaster.internal/ubuntu noble/main riscv64 libxau-dev riscv64 1:1.0.9-1build6 [14.2 kB] Get:151 http://ftpmaster.internal/ubuntu noble/main riscv64 libxdmcp-dev riscv64 1:1.1.3-0ubuntu6 [37.4 kB] Get:152 http://ftpmaster.internal/ubuntu noble/main riscv64 xtrans-dev all 1.4.0-1 [68.9 kB] Get:153 http://ftpmaster.internal/ubuntu noble/main riscv64 libpthread-stubs0-dev riscv64 0.4-1build3 [4734 B] Get:154 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcb1-dev riscv64 1.15-1ubuntu2 [172 kB] Get:155 http://ftpmaster.internal/ubuntu noble/main riscv64 libx11-dev riscv64 2:1.8.7-1build1 [1410 kB] Get:156 http://ftpmaster.internal/ubuntu noble/main riscv64 libglx-dev riscv64 1.7.0-1build1 [14.2 kB] Get:157 http://ftpmaster.internal/ubuntu noble/main riscv64 libgl-dev riscv64 1.7.0-1build1 [102 kB] Get:158 http://ftpmaster.internal/ubuntu noble/main riscv64 libegl-dev riscv64 1.7.0-1build1 [18.2 kB] Get:159 http://ftpmaster.internal/ubuntu noble/main riscv64 libogg0 riscv64 1.3.5-3build1 [23.2 kB] Get:160 http://ftpmaster.internal/ubuntu noble/main riscv64 libflac12t64 riscv64 1.4.3+ds-2.1ubuntu2 [189 kB] Get:161 http://ftpmaster.internal/ubuntu noble/main riscv64 libogg-dev riscv64 1.3.5-3build1 [175 kB] Get:162 http://ftpmaster.internal/ubuntu noble/main riscv64 libflac-dev riscv64 1.4.3+ds-2.1ubuntu2 [470 kB] Get:163 http://ftpmaster.internal/ubuntu noble/main riscv64 libmp3lame0 riscv64 3.100-6build1 [153 kB] Get:164 http://ftpmaster.internal/ubuntu noble/main riscv64 libmpg123-0t64 riscv64 1.32.5-1ubuntu1 [179 kB] Get:165 http://ftpmaster.internal/ubuntu noble/main riscv64 libopus0 riscv64 1.4-1build1 [214 kB] Get:166 http://ftpmaster.internal/ubuntu noble/main riscv64 libvorbis0a riscv64 1.3.7-1build3 [99.2 kB] Get:167 http://ftpmaster.internal/ubuntu noble/main riscv64 libvorbisenc2 riscv64 1.3.7-1build3 [73.0 kB] Get:168 http://ftpmaster.internal/ubuntu noble/main riscv64 libsndfile1 riscv64 1.2.2-1ubuntu5 [233 kB] Get:169 http://ftpmaster.internal/ubuntu noble/universe riscv64 libinstpatch-1.0-2 riscv64 1.1.6-1build2 [267 kB] Get:170 http://ftpmaster.internal/ubuntu noble/universe riscv64 libjack0 riscv64 1:0.126.0-2build3 [115 kB] Get:171 http://ftpmaster.internal/ubuntu noble/main riscv64 libwebrtc-audio-processing1 riscv64 0.3.1-0ubuntu6 [292 kB] Get:172 http://ftpmaster.internal/ubuntu noble/main riscv64 libspa-0.2-modules riscv64 1.0.5-1 [627 kB] Get:173 http://ftpmaster.internal/ubuntu noble/main riscv64 libpipewire-0.3-0t64 riscv64 1.0.5-1 [279 kB] Get:174 http://ftpmaster.internal/ubuntu noble/main riscv64 libpulse0 riscv64 1:16.1+dfsg1-2ubuntu10 [307 kB] Get:175 http://ftpmaster.internal/ubuntu noble/main riscv64 libsamplerate0 riscv64 0.2.2-4build1 [1345 kB] Get:176 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcursor1 riscv64 1:1.2.1-1build1 [22.3 kB] Get:177 http://ftpmaster.internal/ubuntu noble/main riscv64 libxi6 riscv64 2:1.8.1-1build1 [34.9 kB] Get:178 http://ftpmaster.internal/ubuntu noble/main riscv64 libxrandr2 riscv64 2:1.5.2-2build1 [20.9 kB] Get:179 http://ftpmaster.internal/ubuntu noble/main riscv64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] Get:180 http://ftpmaster.internal/ubuntu noble/main riscv64 libxss1 riscv64 1:1.2.3-1build3 [7392 B] Get:181 http://ftpmaster.internal/ubuntu noble/main riscv64 libsdl2-2.0-0 riscv64 2.30.0+dfsg-1build3 [725 kB] Get:182 http://ftpmaster.internal/ubuntu noble/universe riscv64 timgm6mb-soundfont all 1.3-5 [5427 kB] Get:183 http://ftpmaster.internal/ubuntu noble/universe riscv64 libfluidsynth3 riscv64 2.3.4-1build3 [248 kB] Get:184 http://ftpmaster.internal/ubuntu noble/main riscv64 libglib2.0-bin riscv64 2.80.0-6ubuntu1 [97.8 kB] Get:185 http://ftpmaster.internal/ubuntu noble/main riscv64 python3-packaging all 24.0-1 [41.1 kB] Get:186 http://ftpmaster.internal/ubuntu noble/main riscv64 libglib2.0-dev-bin riscv64 2.80.0-6ubuntu1 [142 kB] Get:187 http://ftpmaster.internal/ubuntu noble/main riscv64 uuid-dev riscv64 2.39.3-9ubuntu6 [51.8 kB] Get:188 http://ftpmaster.internal/ubuntu noble/main riscv64 libblkid-dev riscv64 2.39.3-9ubuntu6 [564 kB] Get:189 http://ftpmaster.internal/ubuntu noble/main riscv64 libsepol-dev riscv64 3.5-2build1 [1164 kB] Get:190 http://ftpmaster.internal/ubuntu noble/main riscv64 libpcre2-16-0 riscv64 10.42-4ubuntu2 [133 kB] Get:191 http://ftpmaster.internal/ubuntu noble/main riscv64 libpcre2-32-0 riscv64 10.42-4ubuntu2 [126 kB] Get:192 http://ftpmaster.internal/ubuntu noble/main riscv64 libpcre2-posix3 riscv64 10.42-4ubuntu2 [6430 B] Get:193 http://ftpmaster.internal/ubuntu noble/main riscv64 libpcre2-dev riscv64 10.42-4ubuntu2 [1154 kB] Get:194 http://ftpmaster.internal/ubuntu noble/main riscv64 libselinux1-dev riscv64 3.5-2ubuntu2 [315 kB] Get:195 http://ftpmaster.internal/ubuntu noble/main riscv64 libmount-dev riscv64 2.39.3-9ubuntu6 [14.9 kB] Get:196 http://ftpmaster.internal/ubuntu noble/main riscv64 zlib1g-dev riscv64 1:1.3.dfsg-3.1ubuntu2 [968 kB] Get:197 http://ftpmaster.internal/ubuntu noble/main riscv64 libgirepository-2.0-0 riscv64 2.80.0-6ubuntu1 [117 kB] Get:198 http://ftpmaster.internal/ubuntu noble/main riscv64 libglib2.0-dev riscv64 2.80.0-6ubuntu1 [4998 kB] Get:199 http://ftpmaster.internal/ubuntu noble/main riscv64 libout123-0t64 riscv64 1.32.5-1ubuntu1 [33.0 kB] Get:200 http://ftpmaster.internal/ubuntu noble/main riscv64 libsyn123-0t64 riscv64 1.32.5-1ubuntu1 [113 kB] Get:201 http://ftpmaster.internal/ubuntu noble/main riscv64 libmpg123-dev riscv64 1.32.5-1ubuntu1 [60.8 kB] Get:202 http://ftpmaster.internal/ubuntu noble/main riscv64 libopus-dev riscv64 1.4-1build1 [544 kB] Get:203 http://ftpmaster.internal/ubuntu noble/main riscv64 libvorbisfile3 riscv64 1.3.7-1build3 [17.9 kB] Get:204 http://ftpmaster.internal/ubuntu noble/main riscv64 libvorbis-dev riscv64 1.3.7-1build3 [461 kB] Get:205 http://ftpmaster.internal/ubuntu noble/main riscv64 libsndfile1-dev riscv64 1.2.2-1ubuntu5 [378 kB] Get:206 http://ftpmaster.internal/ubuntu noble/universe riscv64 libinstpatch-dev riscv64 1.1.6-1build2 [55.6 kB] Get:207 http://ftpmaster.internal/ubuntu noble/universe riscv64 libjack-dev riscv64 1:0.126.0-2build3 [140 kB] Get:208 http://ftpmaster.internal/ubuntu noble/main riscv64 libspa-0.2-dev riscv64 1.0.5-1 [108 kB] Get:209 http://ftpmaster.internal/ubuntu noble/main riscv64 libpipewire-0.3-dev riscv64 1.0.5-1 [53.3 kB] Get:210 http://ftpmaster.internal/ubuntu noble/main riscv64 libpulse-mainloop-glib0 riscv64 1:16.1+dfsg1-2ubuntu10 [12.4 kB] Get:211 http://ftpmaster.internal/ubuntu noble/universe riscv64 libpulse-dev riscv64 1:16.1+dfsg1-2ubuntu10 [75.6 kB] Get:212 http://ftpmaster.internal/ubuntu noble/main riscv64 libncurses-dev riscv64 6.4+20240113-1ubuntu2 [1009 kB] Get:213 http://ftpmaster.internal/ubuntu noble/main riscv64 libreadline-dev riscv64 8.2-4build1 [404 kB] Get:214 http://ftpmaster.internal/ubuntu noble/main riscv64 libgbm-dev riscv64 24.0.5-1ubuntu1 [9542 B] Get:215 http://ftpmaster.internal/ubuntu noble/main riscv64 libgles1 riscv64 1.7.0-1build1 [13.7 kB] Get:216 http://ftpmaster.internal/ubuntu noble/main riscv64 libgles2 riscv64 1.7.0-1build1 [22.2 kB] Get:217 http://ftpmaster.internal/ubuntu noble/main riscv64 libgles-dev riscv64 1.7.0-1build1 [50.5 kB] Get:218 http://ftpmaster.internal/ubuntu noble/universe riscv64 libibus-1.0-dev riscv64 1.5.29-2 [187 kB] Get:219 http://ftpmaster.internal/ubuntu noble/main riscv64 libsamplerate0-dev riscv64 0.2.2-4build1 [61.5 kB] Get:220 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsndio7.0 riscv64 1.9.0-0.3build3 [30.3 kB] Get:221 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsndio-dev riscv64 1.9.0-0.3build3 [17.7 kB] Get:222 http://ftpmaster.internal/ubuntu noble/main riscv64 libudev-dev riscv64 255.4-1ubuntu8 [22.0 kB] Get:223 http://ftpmaster.internal/ubuntu noble/main riscv64 libxrender-dev riscv64 1:0.9.10-1.1build1 [55.9 kB] Get:224 http://ftpmaster.internal/ubuntu noble/main riscv64 libxfixes-dev riscv64 1:6.0.0-2build1 [24.2 kB] Get:225 http://ftpmaster.internal/ubuntu noble/main riscv64 libxcursor-dev riscv64 1:1.2.1-1build1 [62.4 kB] Get:226 http://ftpmaster.internal/ubuntu noble/main riscv64 libxext-dev riscv64 2:1.3.4-1build2 [141 kB] Get:227 http://ftpmaster.internal/ubuntu noble/main riscv64 libxi-dev riscv64 2:1.8.1-1build1 [246 kB] Get:228 http://ftpmaster.internal/ubuntu noble/main riscv64 libxinerama1 riscv64 2:1.1.4-3build1 [6518 B] Get:229 http://ftpmaster.internal/ubuntu noble/main riscv64 libxinerama-dev riscv64 2:1.1.4-3build1 [11.5 kB] Get:230 http://ftpmaster.internal/ubuntu noble/main riscv64 libxkbcommon-dev riscv64 1.6.0-1build1 [56.3 kB] Get:231 http://ftpmaster.internal/ubuntu noble/main riscv64 libxrandr-dev riscv64 2:1.5.2-2build1 [56.6 kB] Get:232 http://ftpmaster.internal/ubuntu noble/main riscv64 libxss-dev riscv64 1:1.2.3-1build3 [16.6 kB] Get:233 http://ftpmaster.internal/ubuntu noble/main riscv64 libice6 riscv64 2:1.0.10-1build3 [43.0 kB] Get:234 http://ftpmaster.internal/ubuntu noble/main riscv64 libsm6 riscv64 2:1.2.3-1build3 [16.5 kB] Get:235 http://ftpmaster.internal/ubuntu noble/main riscv64 libxt6t64 riscv64 1:1.2.1-1.2build1 [176 kB] Get:236 http://ftpmaster.internal/ubuntu noble/main riscv64 libice-dev riscv64 2:1.0.10-1build3 [122 kB] Get:237 http://ftpmaster.internal/ubuntu noble/main riscv64 libsm-dev riscv64 2:1.2.3-1build3 [40.7 kB] Get:238 http://ftpmaster.internal/ubuntu noble/main riscv64 libxt-dev riscv64 1:1.2.1-1.2build1 [689 kB] Get:239 http://ftpmaster.internal/ubuntu noble/main riscv64 libxv1 riscv64 2:1.0.11-1.1build1 [11.5 kB] Get:240 http://ftpmaster.internal/ubuntu noble/main riscv64 libxv-dev riscv64 2:1.0.11-1.1build1 [44.1 kB] Get:241 http://ftpmaster.internal/ubuntu noble/main riscv64 libxxf86vm-dev riscv64 1:1.1.4-1build4 [25.7 kB] Get:242 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsdl2-dev riscv64 2.30.0+dfsg-1build3 [2586 kB] Get:243 http://ftpmaster.internal/ubuntu noble/main riscv64 libsystemd-dev riscv64 255.4-1ubuntu8 [2863 kB] Get:244 http://ftpmaster.internal/ubuntu noble/universe riscv64 libfluidsynth-dev riscv64 2.3.4-1build3 [39.4 kB] Get:245 http://ftpmaster.internal/ubuntu noble/main riscv64 libpng-dev riscv64 1.6.43-5build1 [462 kB] Get:246 http://ftpmaster.internal/ubuntu noble/main riscv64 libfreetype-dev riscv64 2.13.2+dfsg-1build3 [1267 kB] Get:247 http://ftpmaster.internal/ubuntu noble/main riscv64 libgraphite2-dev riscv64 1.3.14-2build1 [14.7 kB] Get:248 http://ftpmaster.internal/ubuntu noble/main riscv64 libharfbuzz-cairo0 riscv64 8.3.0-2build2 [48.4 kB] Get:249 http://ftpmaster.internal/ubuntu noble/main riscv64 libharfbuzz-icu0 riscv64 8.3.0-2build2 [13.2 kB] Get:250 http://ftpmaster.internal/ubuntu noble/main riscv64 libharfbuzz-subset0 riscv64 8.3.0-2build2 [633 kB] Get:251 http://ftpmaster.internal/ubuntu noble/main riscv64 libicu-dev riscv64 74.2-1ubuntu3 [17.2 MB] Get:252 http://ftpmaster.internal/ubuntu noble/main riscv64 libharfbuzz-dev riscv64 8.3.0-2build2 [142 kB] Get:253 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg-turbo8 riscv64 2.1.5-2ubuntu2 [137 kB] Get:254 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg-turbo8-dev riscv64 2.1.5-2ubuntu2 [470 kB] Get:255 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg8 riscv64 8c-2ubuntu11 [2150 B] Get:256 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg8-dev riscv64 8c-2ubuntu11 [1486 B] Get:257 http://ftpmaster.internal/ubuntu noble/main riscv64 libjpeg-dev riscv64 8c-2ubuntu11 [1484 B] Get:258 http://ftpmaster.internal/ubuntu noble/main riscv64 libkpathsea6 riscv64 2023.20230311.66589-9build3 [66.1 kB] Get:259 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmodplug1 riscv64 1:0.8.9.0-3build1 [201 kB] Get:260 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmodplug-dev riscv64 1:0.8.9.0-3build1 [14.8 kB] Get:261 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmxml1 riscv64 3.3.1-1build1 [26.0 kB] Get:262 http://ftpmaster.internal/ubuntu noble/universe riscv64 libmxml-dev riscv64 3.3.1-1build1 [1305 kB] Get:263 http://ftpmaster.internal/ubuntu noble/universe riscv64 libopenal-data all 1:1.23.1-4build1 [161 kB] Get:264 http://ftpmaster.internal/ubuntu noble/universe riscv64 libopenal1 riscv64 1:1.23.1-4build1 [539 kB] Get:265 http://ftpmaster.internal/ubuntu noble/universe riscv64 libopenal-dev riscv64 1:1.23.1-4build1 [24.5 kB] Get:266 http://ftpmaster.internal/ubuntu noble/universe riscv64 libopusfile0 riscv64 0.12-4build3 [48.1 kB] Get:267 http://ftpmaster.internal/ubuntu noble/universe riscv64 libopusfile-dev riscv64 0.12-4build3 [135 kB] Get:268 http://ftpmaster.internal/ubuntu noble/main riscv64 libpaper1 riscv64 1.1.29build1 [13.3 kB] Get:269 http://ftpmaster.internal/ubuntu noble/main riscv64 libpaper-utils riscv64 1.1.29build1 [8510 B] Get:270 http://ftpmaster.internal/ubuntu noble/universe riscv64 libpotrace0 riscv64 1.16-2build1 [17.8 kB] Get:271 http://ftpmaster.internal/ubuntu noble/main riscv64 libptexenc1 riscv64 2023.20230311.66589-9build3 [40.6 kB] Get:272 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsdl2-mixer-2.0-0 riscv64 2.8.0+dfsg-1build3 [89.9 kB] Get:273 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsdl2-mixer-dev riscv64 2.8.0+dfsg-1build3 [255 kB] Get:274 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsdl2-ttf-2.0-0 riscv64 2.22.0+dfsg-1 [34.5 kB] Get:275 http://ftpmaster.internal/ubuntu noble/universe riscv64 libsdl2-ttf-dev riscv64 2.22.0+dfsg-1 [95.5 kB] Get:276 http://ftpmaster.internal/ubuntu noble/main riscv64 libsynctex2 riscv64 2023.20230311.66589-9build3 [61.2 kB] Get:277 http://ftpmaster.internal/ubuntu noble/universe riscv64 libteckit0 riscv64 2.5.12+ds1-1 [359 kB] Get:278 http://ftpmaster.internal/ubuntu noble/main riscv64 libtexlua53-5 riscv64 2023.20230311.66589-9build3 [124 kB] Get:279 http://ftpmaster.internal/ubuntu noble/main riscv64 libtheora0 riscv64 1.1.1+dfsg.1-16.1build3 [191 kB] Get:280 http://ftpmaster.internal/ubuntu noble/main riscv64 libtheora-dev riscv64 1.1.1+dfsg.1-16.1build3 [380 kB] Get:281 http://ftpmaster.internal/ubuntu noble/main riscv64 libxmu6 riscv64 2:1.1.3-3build2 [49.5 kB] Get:282 http://ftpmaster.internal/ubuntu noble/main riscv64 libxpm4 riscv64 1:3.5.17-1build2 [38.2 kB] Get:283 http://ftpmaster.internal/ubuntu noble/main riscv64 libxaw7 riscv64 2:1.0.14-1build2 [191 kB] Get:284 http://ftpmaster.internal/ubuntu noble/main riscv64 libxml2-dev riscv64 2.9.14+dfsg-1.3ubuntu3 [2434 kB] Get:285 http://ftpmaster.internal/ubuntu noble/universe riscv64 libxvidcore4 riscv64 2:1.3.7-1build1 [223 kB] Get:286 http://ftpmaster.internal/ubuntu noble/universe riscv64 libxvidcore-dev riscv64 2:1.3.7-1build1 [734 kB] Get:287 http://ftpmaster.internal/ubuntu noble/universe riscv64 libzzip-0-13t64 riscv64 0.13.72+dfsg.1-1.2build1 [29.9 kB] Get:288 http://ftpmaster.internal/ubuntu noble/universe riscv64 tex-common all 6.18 [32.8 kB] Get:289 http://ftpmaster.internal/ubuntu noble/universe riscv64 preview-latex-style all 13.2-1 [347 kB] Get:290 http://ftpmaster.internal/ubuntu noble/main riscv64 t1utils riscv64 1.41-4build3 [60.7 kB] Get:291 http://ftpmaster.internal/ubuntu noble/universe riscv64 texlive-binaries riscv64 2023.20230311.66589-9build3 [8839 kB] Get:292 http://ftpmaster.internal/ubuntu noble/main riscv64 xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB] Get:293 http://ftpmaster.internal/ubuntu noble/universe riscv64 texlive-base all 2023.20240207-1 [21.7 MB] Get:294 http://ftpmaster.internal/ubuntu noble/universe riscv64 texlive-latex-base all 2023.20240207-1 [1238 kB] Get:295 http://ftpmaster.internal/ubuntu noble/universe riscv64 libfontbox-java all 1:1.8.16-5 [208 kB] Get:296 http://ftpmaster.internal/ubuntu noble/universe riscv64 libpdfbox-java all 1:1.8.16-5 [5521 kB] Get:297 http://ftpmaster.internal/ubuntu noble/universe riscv64 texlive-latex-recommended all 2023.20240207-1 [8826 kB] Get:298 http://ftpmaster.internal/ubuntu noble/universe riscv64 texlive-pictures all 2023.20240207-1 [16.7 MB] Get:299 http://ftpmaster.internal/ubuntu noble/universe riscv64 texlive-latex-extra all 2023.20240207-1 [19.2 MB] Get:300 http://ftpmaster.internal/ubuntu noble/main riscv64 zip riscv64 3.0-13build1 [180 kB] Preconfiguring packages ... Fetched 224 MB in 35s (6323 kB/s) Selecting previously unselected package libpython3.12-minimal:riscv64. (Reading database ... 15729 files and directories currently installed.) Preparing to unpack .../libpython3.12-minimal_3.12.3-1_riscv64.deb ... Unpacking libpython3.12-minimal:riscv64 (3.12.3-1) ... Selecting previously unselected package libexpat1:riscv64. Preparing to unpack .../libexpat1_2.6.1-2build1_riscv64.deb ... Unpacking libexpat1:riscv64 (2.6.1-2build1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.3-1_riscv64.deb ... Unpacking python3.12-minimal (3.12.3-1) ... Setting up libpython3.12-minimal:riscv64 (3.12.3-1) ... Setting up libexpat1:riscv64 (2.6.1-2build1) ... Setting up python3.12-minimal (3.12.3-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 16047 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.12.3-0ubuntu1_riscv64.deb ... Unpacking python3-minimal (3.12.3-0ubuntu1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package libpython3.12-stdlib:riscv64. Preparing to unpack .../3-libpython3.12-stdlib_3.12.3-1_riscv64.deb ... Unpacking libpython3.12-stdlib:riscv64 (3.12.3-1) ... Selecting previously unselected package python3.12. Preparing to unpack .../4-python3.12_3.12.3-1_riscv64.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package libpython3-stdlib:riscv64. Preparing to unpack .../5-libpython3-stdlib_3.12.3-0ubuntu1_riscv64.deb ... Unpacking libpython3-stdlib:riscv64 (3.12.3-0ubuntu1) ... Setting up python3-minimal (3.12.3-0ubuntu1) ... Selecting previously unselected package python3. (Reading database ... 16488 files and directories currently installed.) Preparing to unpack .../000-python3_3.12.3-0ubuntu1_riscv64.deb ... Unpacking python3 (3.12.3-0ubuntu1) ... Selecting previously unselected package sgml-base. Preparing to unpack .../001-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package libglib2.0-0t64:riscv64. Preparing to unpack .../002-libglib2.0-0t64_2.80.0-6ubuntu1_riscv64.deb ... Unpacking libglib2.0-0t64:riscv64 (2.80.0-6ubuntu1) ... Selecting previously unselected package gir1.2-glib-2.0:riscv64. Preparing to unpack .../003-gir1.2-glib-2.0_2.80.0-6ubuntu1_riscv64.deb ... Unpacking gir1.2-glib-2.0:riscv64 (2.80.0-6ubuntu1) ... Selecting previously unselected package libbsd0:riscv64. Preparing to unpack .../004-libbsd0_0.12.1-1build1_riscv64.deb ... Unpacking libbsd0:riscv64 (0.12.1-1build1) ... Selecting previously unselected package libdbus-1-3:riscv64. Preparing to unpack .../005-libdbus-1-3_1.14.10-4ubuntu4_riscv64.deb ... Unpacking libdbus-1-3:riscv64 (1.14.10-4ubuntu4) ... Selecting previously unselected package libelf1t64:riscv64. Preparing to unpack .../006-libelf1t64_0.190-1.1build4_riscv64.deb ... Unpacking libelf1t64:riscv64 (0.190-1.1build4) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../007-libglib2.0-data_2.80.0-6ubuntu1_all.deb ... Unpacking libglib2.0-data (2.80.0-6ubuntu1) ... Selecting previously unselected package libicu74:riscv64. Preparing to unpack .../008-libicu74_74.2-1ubuntu3_riscv64.deb ... Unpacking libicu74:riscv64 (74.2-1ubuntu3) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../009-libxml2_2.9.14+dfsg-1.3ubuntu3_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.14+dfsg-1.3ubuntu3) ... Selecting previously unselected package ucf. Preparing to unpack .../010-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package xkb-data. Preparing to unpack .../011-xkb-data_2.41-2ubuntu1_all.deb ... Unpacking xkb-data (2.41-2ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../012-libmagic-mgc_1%3a5.45-3build1_riscv64.deb ... Unpacking libmagic-mgc (1:5.45-3build1) ... Selecting previously unselected package libmagic1t64:riscv64. Preparing to unpack .../013-libmagic1t64_1%3a5.45-3build1_riscv64.deb ... Unpacking libmagic1t64:riscv64 (1:5.45-3build1) ... Selecting previously unselected package file. Preparing to unpack .../014-file_1%3a5.45-3build1_riscv64.deb ... Unpacking file (1:5.45-3build1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../015-gettext-base_0.21-14ubuntu2_riscv64.deb ... Unpacking gettext-base (0.21-14ubuntu2) ... Selecting previously unselected package libuchardet0:riscv64. Preparing to unpack .../016-libuchardet0_0.0.8-1build1_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.8-1build1) ... Selecting previously unselected package groff-base. Preparing to unpack .../017-groff-base_1.23.0-3build2_riscv64.deb ... Unpacking groff-base (1.23.0-3build2) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../018-libdrm-common_2.4.120-2build1_all.deb ... Unpacking libdrm-common (2.4.120-2build1) ... Selecting previously unselected package libdrm2:riscv64. Preparing to unpack .../019-libdrm2_2.4.120-2build1_riscv64.deb ... Unpacking libdrm2:riscv64 (2.4.120-2build1) ... Selecting previously unselected package libedit2:riscv64. Preparing to unpack .../020-libedit2_3.1-20230828-1build1_riscv64.deb ... Unpacking libedit2:riscv64 (3.1-20230828-1build1) ... Selecting previously unselected package libncurses6:riscv64. Preparing to unpack .../021-libncurses6_6.4+20240113-1ubuntu2_riscv64.deb ... Unpacking libncurses6:riscv64 (6.4+20240113-1ubuntu2) ... Selecting previously unselected package libnghttp2-14:riscv64. Preparing to unpack .../022-libnghttp2-14_1.59.0-1build4_riscv64.deb ... Unpacking libnghttp2-14:riscv64 (1.59.0-1build4) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../023-libpipeline1_1.5.7-2_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.7-2) ... Selecting previously unselected package libpsl5t64:riscv64. Preparing to unpack .../024-libpsl5t64_0.21.2-1.1build1_riscv64.deb ... Unpacking libpsl5t64:riscv64 (0.21.2-1.1build1) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../025-libsensors-config_1%3a3.6.0-9build1_all.deb ... Unpacking libsensors-config (1:3.6.0-9build1) ... Selecting previously unselected package libsensors5:riscv64. Preparing to unpack .../026-libsensors5_1%3a3.6.0-9build1_riscv64.deb ... Unpacking libsensors5:riscv64 (1:3.6.0-9build1) ... Selecting previously unselected package libxau6:riscv64. Preparing to unpack .../027-libxau6_1%3a1.0.9-1build6_riscv64.deb ... Unpacking libxau6:riscv64 (1:1.0.9-1build6) ... Selecting previously unselected package libxdmcp6:riscv64. Preparing to unpack .../028-libxdmcp6_1%3a1.1.3-0ubuntu6_riscv64.deb ... Unpacking libxdmcp6:riscv64 (1:1.1.3-0ubuntu6) ... Selecting previously unselected package libxcb1:riscv64. Preparing to unpack .../029-libxcb1_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb1:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../030-libx11-data_2%3a1.8.7-1build1_all.deb ... Unpacking libx11-data (2:1.8.7-1build1) ... Selecting previously unselected package libx11-6:riscv64. Preparing to unpack .../031-libx11-6_2%3a1.8.7-1build1_riscv64.deb ... Unpacking libx11-6:riscv64 (2:1.8.7-1build1) ... Selecting previously unselected package libxext6:riscv64. Preparing to unpack .../032-libxext6_2%3a1.3.4-1build2_riscv64.deb ... Unpacking libxext6:riscv64 (2:1.3.4-1build2) ... Selecting previously unselected package libxkbcommon0:riscv64. Preparing to unpack .../033-libxkbcommon0_1.6.0-1build1_riscv64.deb ... Unpacking libxkbcommon0:riscv64 (1.6.0-1build1) ... Selecting previously unselected package man-db. Preparing to unpack .../034-man-db_2.12.0-4build2_riscv64.deb ... Unpacking man-db (2.12.0-4build2) ... Selecting previously unselected package m4. Preparing to unpack .../035-m4_1.4.19-4build1_riscv64.deb ... Unpacking m4 (1.4.19-4build1) ... Selecting previously unselected package autoconf. Preparing to unpack .../036-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../037-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../038-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... Unpacking automake (1:1.16.5-1.3ubuntu1) ... Selecting previously unselected package autopoint. Preparing to unpack .../039-autopoint_0.21-14ubuntu2_all.deb ... Unpacking autopoint (0.21-14ubuntu2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../040-libdebhelper-perl_13.14.1ubuntu5_all.deb ... Unpacking libdebhelper-perl (13.14.1ubuntu5) ... Selecting previously unselected package libtool. Preparing to unpack .../041-libtool_2.4.7-7build1_all.deb ... Unpacking libtool (2.4.7-7build1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../042-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../043-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../044-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../045-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../046-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libdw1t64:riscv64. Preparing to unpack .../047-libdw1t64_0.190-1.1build4_riscv64.deb ... Unpacking libdw1t64:riscv64 (0.190-1.1build4) ... Selecting previously unselected package debugedit. Preparing to unpack .../048-debugedit_1%3a5.0-5build2_riscv64.deb ... Unpacking debugedit (1:5.0-5build2) ... Selecting previously unselected package dwz. Preparing to unpack .../049-dwz_0.15-1build6_riscv64.deb ... Unpacking dwz (0.15-1build6) ... Selecting previously unselected package gettext. Preparing to unpack .../050-gettext_0.21-14ubuntu2_riscv64.deb ... Unpacking gettext (0.21-14ubuntu2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../051-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../052-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../053-debhelper_13.14.1ubuntu5_all.deb ... Unpacking debhelper (13.14.1ubuntu5) ... Selecting previously unselected package fonts-dejavu-mono. Preparing to unpack .../054-fonts-dejavu-mono_2.37-8_all.deb ... Unpacking fonts-dejavu-mono (2.37-8) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../055-fonts-dejavu-core_2.37-8_all.deb ... Unpacking fonts-dejavu-core (2.37-8) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../056-fontconfig-config_2.15.0-1.1ubuntu2_riscv64.deb ... Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../057-fonts-lmodern_2.005-1_all.deb ... Unpacking fonts-lmodern (2.005-1) ... Selecting previously unselected package libbrotli1:riscv64. Preparing to unpack .../058-libbrotli1_1.1.0-2build2_riscv64.deb ... Unpacking libbrotli1:riscv64 (1.1.0-2build2) ... Selecting previously unselected package libfreetype6:riscv64. Preparing to unpack .../059-libfreetype6_2.13.2+dfsg-1build3_riscv64.deb ... Unpacking libfreetype6:riscv64 (2.13.2+dfsg-1build3) ... Selecting previously unselected package libfontconfig1:riscv64. Preparing to unpack .../060-libfontconfig1_2.15.0-1.1ubuntu2_riscv64.deb ... Unpacking libfontconfig1:riscv64 (2.15.0-1.1ubuntu2) ... Selecting previously unselected package libpixman-1-0:riscv64. Preparing to unpack .../061-libpixman-1-0_0.42.2-1build1_riscv64.deb ... Unpacking libpixman-1-0:riscv64 (0.42.2-1build1) ... Selecting previously unselected package libxcb-render0:riscv64. Preparing to unpack .../062-libxcb-render0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-render0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxcb-shm0:riscv64. Preparing to unpack .../063-libxcb-shm0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-shm0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxrender1:riscv64. Preparing to unpack .../064-libxrender1_1%3a0.9.10-1.1build1_riscv64.deb ... Unpacking libxrender1:riscv64 (1:0.9.10-1.1build1) ... Selecting previously unselected package libcairo2:riscv64. Preparing to unpack .../065-libcairo2_1.18.0-3build1_riscv64.deb ... Unpacking libcairo2:riscv64 (1.18.0-3build1) ... Selecting previously unselected package libcairo-gobject2:riscv64. Preparing to unpack .../066-libcairo-gobject2_1.18.0-3build1_riscv64.deb ... Unpacking libcairo-gobject2:riscv64 (1.18.0-3build1) ... Selecting previously unselected package gir1.2-freedesktop:riscv64. Preparing to unpack .../067-gir1.2-freedesktop_1.80.1-1_riscv64.deb ... Unpacking gir1.2-freedesktop:riscv64 (1.80.1-1) ... Selecting previously unselected package gir1.2-glib-2.0-dev:riscv64. Preparing to unpack .../068-gir1.2-glib-2.0-dev_2.80.0-6ubuntu1_riscv64.deb ... Unpacking gir1.2-glib-2.0-dev:riscv64 (2.80.0-6ubuntu1) ... Selecting previously unselected package gir1.2-freedesktop-dev:riscv64. Preparing to unpack .../069-gir1.2-freedesktop-dev_1.80.1-1_riscv64.deb ... Unpacking gir1.2-freedesktop-dev:riscv64 (1.80.1-1) ... Selecting previously unselected package libgraphite2-3:riscv64. Preparing to unpack .../070-libgraphite2-3_1.3.14-2build1_riscv64.deb ... Unpacking libgraphite2-3:riscv64 (1.3.14-2build1) ... Selecting previously unselected package libharfbuzz0b:riscv64. Preparing to unpack .../071-libharfbuzz0b_8.3.0-2build2_riscv64.deb ... Unpacking libharfbuzz0b:riscv64 (8.3.0-2build2) ... Selecting previously unselected package libharfbuzz-gobject0:riscv64. Preparing to unpack .../072-libharfbuzz-gobject0_8.3.0-2build2_riscv64.deb ... Unpacking libharfbuzz-gobject0:riscv64 (8.3.0-2build2) ... Selecting previously unselected package gir1.2-harfbuzz-0.0:riscv64. Preparing to unpack .../073-gir1.2-harfbuzz-0.0_8.3.0-2build2_riscv64.deb ... Unpacking gir1.2-harfbuzz-0.0:riscv64 (8.3.0-2build2) ... Selecting previously unselected package libibus-1.0-5:riscv64. Preparing to unpack .../074-libibus-1.0-5_1.5.29-2_riscv64.deb ... Unpacking libibus-1.0-5:riscv64 (1.5.29-2) ... Selecting previously unselected package gir1.2-ibus-1.0:riscv64. Preparing to unpack .../075-gir1.2-ibus-1.0_1.5.29-2_riscv64.deb ... Unpacking gir1.2-ibus-1.0:riscv64 (1.5.29-2) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../076-icu-devtools_74.2-1ubuntu3_riscv64.deb ... Unpacking icu-devtools (74.2-1ubuntu3) ... Selecting previously unselected package libapache-pom-java. Preparing to unpack .../077-libapache-pom-java_29-2_all.deb ... Unpacking libapache-pom-java (29-2) ... Selecting previously unselected package libasound2-data. Preparing to unpack .../078-libasound2-data_1.2.11-1build2_all.deb ... Unpacking libasound2-data (1.2.11-1build2) ... Selecting previously unselected package libasound2t64:riscv64. Preparing to unpack .../079-libasound2t64_1.2.11-1build2_riscv64.deb ... Unpacking libasound2t64:riscv64 (1.2.11-1build2) ... Selecting previously unselected package libasound2-dev:riscv64. Preparing to unpack .../080-libasound2-dev_1.2.11-1build2_riscv64.deb ... Unpacking libasound2-dev:riscv64 (1.2.11-1build2) ... Selecting previously unselected package libasyncns0:riscv64. Preparing to unpack .../081-libasyncns0_0.8-6build4_riscv64.deb ... Unpacking libasyncns0:riscv64 (0.8-6build4) ... Selecting previously unselected package libbrotli-dev:riscv64. Preparing to unpack .../082-libbrotli-dev_1.1.0-2build2_riscv64.deb ... Unpacking libbrotli-dev:riscv64 (1.1.0-2build2) ... Selecting previously unselected package libbz2-dev:riscv64. Preparing to unpack .../083-libbz2-dev_1.0.8-5.1_riscv64.deb ... Unpacking libbz2-dev:riscv64 (1.0.8-5.1) ... Selecting previously unselected package libcommons-parent-java. Preparing to unpack .../084-libcommons-parent-java_56-1_all.deb ... Unpacking libcommons-parent-java (56-1) ... Selecting previously unselected package libcommons-logging-java. Preparing to unpack .../085-libcommons-logging-java_1.3.0-1ubuntu1_all.deb ... Unpacking libcommons-logging-java (1.3.0-1ubuntu1) ... Selecting previously unselected package libcunit1:riscv64. Preparing to unpack .../086-libcunit1_2.1-3-dfsg-2.7_riscv64.deb ... Unpacking libcunit1:riscv64 (2.1-3-dfsg-2.7) ... Selecting previously unselected package libcunit1-dev:riscv64. Preparing to unpack .../087-libcunit1-dev_2.1-3-dfsg-2.7_riscv64.deb ... Unpacking libcunit1-dev:riscv64 (2.1-3-dfsg-2.7) ... Selecting previously unselected package libsasl2-modules-db:riscv64. Preparing to unpack .../088-libsasl2-modules-db_2.1.28+dfsg1-5ubuntu3_riscv64.deb ... Unpacking libsasl2-modules-db:riscv64 (2.1.28+dfsg1-5ubuntu3) ... Selecting previously unselected package libsasl2-2:riscv64. Preparing to unpack .../089-libsasl2-2_2.1.28+dfsg1-5ubuntu3_riscv64.deb ... Unpacking libsasl2-2:riscv64 (2.1.28+dfsg1-5ubuntu3) ... Selecting previously unselected package libldap2:riscv64. Preparing to unpack .../090-libldap2_2.6.7+dfsg-1~exp1ubuntu8_riscv64.deb ... Unpacking libldap2:riscv64 (2.6.7+dfsg-1~exp1ubuntu8) ... Selecting previously unselected package librtmp1:riscv64. Preparing to unpack .../091-librtmp1_2.4+20151223.gitfa8646d.1-2build7_riscv64.deb ... Unpacking librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build7) ... Selecting previously unselected package libssh-4:riscv64. Preparing to unpack .../092-libssh-4_0.10.6-2build2_riscv64.deb ... Unpacking libssh-4:riscv64 (0.10.6-2build2) ... Selecting previously unselected package libcurl3t64-gnutls:riscv64. Preparing to unpack .../093-libcurl3t64-gnutls_8.5.0-2ubuntu10_riscv64.deb ... Unpacking libcurl3t64-gnutls:riscv64 (8.5.0-2ubuntu10) ... Selecting previously unselected package libcurl4-gnutls-dev:riscv64. Preparing to unpack .../094-libcurl4-gnutls-dev_8.5.0-2ubuntu10_riscv64.deb ... Unpacking libcurl4-gnutls-dev:riscv64 (8.5.0-2ubuntu10) ... Selecting previously unselected package libpkgconf3:riscv64. Preparing to unpack .../095-libpkgconf3_1.8.1-2build1_riscv64.deb ... Unpacking libpkgconf3:riscv64 (1.8.1-2build1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../096-pkgconf-bin_1.8.1-2build1_riscv64.deb ... Unpacking pkgconf-bin (1.8.1-2build1) ... Selecting previously unselected package pkgconf:riscv64. Preparing to unpack .../097-pkgconf_1.8.1-2build1_riscv64.deb ... Unpacking pkgconf:riscv64 (1.8.1-2build1) ... Selecting previously unselected package xml-core. Preparing to unpack .../098-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package libdbus-1-dev:riscv64. Preparing to unpack .../099-libdbus-1-dev_1.14.10-4ubuntu4_riscv64.deb ... Unpacking libdbus-1-dev:riscv64 (1.14.10-4ubuntu4) ... Selecting previously unselected package libwayland-client0:riscv64. Preparing to unpack .../100-libwayland-client0_1.22.0-2.1build1_riscv64.deb ... Unpacking libwayland-client0:riscv64 (1.22.0-2.1build1) ... Selecting previously unselected package libdecor-0-0:riscv64. Preparing to unpack .../101-libdecor-0-0_0.2.2-1build2_riscv64.deb ... Unpacking libdecor-0-0:riscv64 (0.2.2-1build2) ... Selecting previously unselected package libwayland-server0:riscv64. Preparing to unpack .../102-libwayland-server0_1.22.0-2.1build1_riscv64.deb ... Unpacking libwayland-server0:riscv64 (1.22.0-2.1build1) ... Selecting previously unselected package libwayland-cursor0:riscv64. Preparing to unpack .../103-libwayland-cursor0_1.22.0-2.1build1_riscv64.deb ... Unpacking libwayland-cursor0:riscv64 (1.22.0-2.1build1) ... Selecting previously unselected package libwayland-egl1:riscv64. Preparing to unpack .../104-libwayland-egl1_1.22.0-2.1build1_riscv64.deb ... Unpacking libwayland-egl1:riscv64 (1.22.0-2.1build1) ... Selecting previously unselected package libwayland-bin. Preparing to unpack .../105-libwayland-bin_1.22.0-2.1build1_riscv64.deb ... Unpacking libwayland-bin (1.22.0-2.1build1) ... Selecting previously unselected package libffi-dev:riscv64. Preparing to unpack .../106-libffi-dev_3.4.6-1build1_riscv64.deb ... Unpacking libffi-dev:riscv64 (3.4.6-1build1) ... Selecting previously unselected package libwayland-dev:riscv64. Preparing to unpack .../107-libwayland-dev_1.22.0-2.1build1_riscv64.deb ... Unpacking libwayland-dev:riscv64 (1.22.0-2.1build1) ... Selecting previously unselected package libdecor-0-dev:riscv64. Preparing to unpack .../108-libdecor-0-dev_0.2.2-1build2_riscv64.deb ... Unpacking libdecor-0-dev:riscv64 (0.2.2-1build2) ... Selecting previously unselected package libdrm-amdgpu1:riscv64. Preparing to unpack .../109-libdrm-amdgpu1_2.4.120-2build1_riscv64.deb ... Unpacking libdrm-amdgpu1:riscv64 (2.4.120-2build1) ... Selecting previously unselected package libdrm-radeon1:riscv64. Preparing to unpack .../110-libdrm-radeon1_2.4.120-2build1_riscv64.deb ... Unpacking libdrm-radeon1:riscv64 (2.4.120-2build1) ... Selecting previously unselected package libdrm-nouveau2:riscv64. Preparing to unpack .../111-libdrm-nouveau2_2.4.120-2build1_riscv64.deb ... Unpacking libdrm-nouveau2:riscv64 (2.4.120-2build1) ... Selecting previously unselected package libpciaccess0:riscv64. Preparing to unpack .../112-libpciaccess0_0.17-3build1_riscv64.deb ... Unpacking libpciaccess0:riscv64 (0.17-3build1) ... Selecting previously unselected package libpciaccess-dev:riscv64. Preparing to unpack .../113-libpciaccess-dev_0.17-3build1_riscv64.deb ... Unpacking libpciaccess-dev:riscv64 (0.17-3build1) ... Selecting previously unselected package libdrm-dev:riscv64. Preparing to unpack .../114-libdrm-dev_2.4.120-2build1_riscv64.deb ... Unpacking libdrm-dev:riscv64 (2.4.120-2build1) ... Selecting previously unselected package libglvnd0:riscv64. Preparing to unpack .../115-libglvnd0_1.7.0-1build1_riscv64.deb ... Unpacking libglvnd0:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libxcb-randr0:riscv64. Preparing to unpack .../116-libxcb-randr0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-randr0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libgbm1:riscv64. Preparing to unpack .../117-libgbm1_24.0.5-1ubuntu1_riscv64.deb ... Unpacking libgbm1:riscv64 (24.0.5-1ubuntu1) ... Selecting previously unselected package libglapi-mesa:riscv64. Preparing to unpack .../118-libglapi-mesa_24.0.5-1ubuntu1_riscv64.deb ... Unpacking libglapi-mesa:riscv64 (24.0.5-1ubuntu1) ... Selecting previously unselected package libx11-xcb1:riscv64. Preparing to unpack .../119-libx11-xcb1_2%3a1.8.7-1build1_riscv64.deb ... Unpacking libx11-xcb1:riscv64 (2:1.8.7-1build1) ... Selecting previously unselected package libxcb-dri2-0:riscv64. Preparing to unpack .../120-libxcb-dri2-0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-dri2-0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxcb-dri3-0:riscv64. Preparing to unpack .../121-libxcb-dri3-0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-dri3-0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxcb-present0:riscv64. Preparing to unpack .../122-libxcb-present0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-present0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxcb-sync1:riscv64. Preparing to unpack .../123-libxcb-sync1_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-sync1:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxcb-xfixes0:riscv64. Preparing to unpack .../124-libxcb-xfixes0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-xfixes0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxshmfence1:riscv64. Preparing to unpack .../125-libxshmfence1_1.3-1build5_riscv64.deb ... Unpacking libxshmfence1:riscv64 (1.3-1build5) ... Selecting previously unselected package libegl-mesa0:riscv64. Preparing to unpack .../126-libegl-mesa0_24.0.5-1ubuntu1_riscv64.deb ... Unpacking libegl-mesa0:riscv64 (24.0.5-1ubuntu1) ... Selecting previously unselected package libegl1:riscv64. Preparing to unpack .../127-libegl1_1.7.0-1build1_riscv64.deb ... Unpacking libegl1:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libxcb-glx0:riscv64. Preparing to unpack .../128-libxcb-glx0_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb-glx0:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libxfixes3:riscv64. Preparing to unpack .../129-libxfixes3_1%3a6.0.0-2build1_riscv64.deb ... Unpacking libxfixes3:riscv64 (1:6.0.0-2build1) ... Selecting previously unselected package libxxf86vm1:riscv64. Preparing to unpack .../130-libxxf86vm1_1%3a1.1.4-1build4_riscv64.deb ... Unpacking libxxf86vm1:riscv64 (1:1.1.4-1build4) ... Selecting previously unselected package libvulkan1:riscv64. Preparing to unpack .../131-libvulkan1_1.3.275.0-1build1_riscv64.deb ... Unpacking libvulkan1:riscv64 (1.3.275.0-1build1) ... Selecting previously unselected package libllvm17t64:riscv64. Preparing to unpack .../132-libllvm17t64_1%3a17.0.6-9ubuntu1_riscv64.deb ... Unpacking libllvm17t64:riscv64 (1:17.0.6-9ubuntu1) ... Selecting previously unselected package libgl1-mesa-dri:riscv64. Preparing to unpack .../133-libgl1-mesa-dri_24.0.5-1ubuntu1_riscv64.deb ... Unpacking libgl1-mesa-dri:riscv64 (24.0.5-1ubuntu1) ... Selecting previously unselected package libglx-mesa0:riscv64. Preparing to unpack .../134-libglx-mesa0_24.0.5-1ubuntu1_riscv64.deb ... Unpacking libglx-mesa0:riscv64 (24.0.5-1ubuntu1) ... Selecting previously unselected package libglx0:riscv64. Preparing to unpack .../135-libglx0_1.7.0-1build1_riscv64.deb ... Unpacking libglx0:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libgl1:riscv64. Preparing to unpack .../136-libgl1_1.7.0-1build1_riscv64.deb ... Unpacking libgl1:riscv64 (1.7.0-1build1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../137-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../138-x11proto-dev_2023.2-1_all.deb ... Unpacking x11proto-dev (2023.2-1) ... Selecting previously unselected package libxau-dev:riscv64. Preparing to unpack .../139-libxau-dev_1%3a1.0.9-1build6_riscv64.deb ... Unpacking libxau-dev:riscv64 (1:1.0.9-1build6) ... Selecting previously unselected package libxdmcp-dev:riscv64. Preparing to unpack .../140-libxdmcp-dev_1%3a1.1.3-0ubuntu6_riscv64.deb ... Unpacking libxdmcp-dev:riscv64 (1:1.1.3-0ubuntu6) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../141-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libpthread-stubs0-dev:riscv64. Preparing to unpack .../142-libpthread-stubs0-dev_0.4-1build3_riscv64.deb ... Unpacking libpthread-stubs0-dev:riscv64 (0.4-1build3) ... Selecting previously unselected package libxcb1-dev:riscv64. Preparing to unpack .../143-libxcb1-dev_1.15-1ubuntu2_riscv64.deb ... Unpacking libxcb1-dev:riscv64 (1.15-1ubuntu2) ... Selecting previously unselected package libx11-dev:riscv64. Preparing to unpack .../144-libx11-dev_2%3a1.8.7-1build1_riscv64.deb ... Unpacking libx11-dev:riscv64 (2:1.8.7-1build1) ... Selecting previously unselected package libglx-dev:riscv64. Preparing to unpack .../145-libglx-dev_1.7.0-1build1_riscv64.deb ... Unpacking libglx-dev:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libgl-dev:riscv64. Preparing to unpack .../146-libgl-dev_1.7.0-1build1_riscv64.deb ... Unpacking libgl-dev:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libegl-dev:riscv64. Preparing to unpack .../147-libegl-dev_1.7.0-1build1_riscv64.deb ... Unpacking libegl-dev:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libogg0:riscv64. Preparing to unpack .../148-libogg0_1.3.5-3build1_riscv64.deb ... Unpacking libogg0:riscv64 (1.3.5-3build1) ... Selecting previously unselected package libflac12t64:riscv64. Preparing to unpack .../149-libflac12t64_1.4.3+ds-2.1ubuntu2_riscv64.deb ... Unpacking libflac12t64:riscv64 (1.4.3+ds-2.1ubuntu2) ... Selecting previously unselected package libogg-dev:riscv64. Preparing to unpack .../150-libogg-dev_1.3.5-3build1_riscv64.deb ... Unpacking libogg-dev:riscv64 (1.3.5-3build1) ... Selecting previously unselected package libflac-dev:riscv64. Preparing to unpack .../151-libflac-dev_1.4.3+ds-2.1ubuntu2_riscv64.deb ... Unpacking libflac-dev:riscv64 (1.4.3+ds-2.1ubuntu2) ... Selecting previously unselected package libmp3lame0:riscv64. Preparing to unpack .../152-libmp3lame0_3.100-6build1_riscv64.deb ... Unpacking libmp3lame0:riscv64 (3.100-6build1) ... Selecting previously unselected package libmpg123-0t64:riscv64. Preparing to unpack .../153-libmpg123-0t64_1.32.5-1ubuntu1_riscv64.deb ... Unpacking libmpg123-0t64:riscv64 (1.32.5-1ubuntu1) ... Selecting previously unselected package libopus0:riscv64. Preparing to unpack .../154-libopus0_1.4-1build1_riscv64.deb ... Unpacking libopus0:riscv64 (1.4-1build1) ... Selecting previously unselected package libvorbis0a:riscv64. Preparing to unpack .../155-libvorbis0a_1.3.7-1build3_riscv64.deb ... Unpacking libvorbis0a:riscv64 (1.3.7-1build3) ... Selecting previously unselected package libvorbisenc2:riscv64. Preparing to unpack .../156-libvorbisenc2_1.3.7-1build3_riscv64.deb ... Unpacking libvorbisenc2:riscv64 (1.3.7-1build3) ... Selecting previously unselected package libsndfile1:riscv64. Preparing to unpack .../157-libsndfile1_1.2.2-1ubuntu5_riscv64.deb ... Unpacking libsndfile1:riscv64 (1.2.2-1ubuntu5) ... Selecting previously unselected package libinstpatch-1.0-2:riscv64. Preparing to unpack .../158-libinstpatch-1.0-2_1.1.6-1build2_riscv64.deb ... Unpacking libinstpatch-1.0-2:riscv64 (1.1.6-1build2) ... Selecting previously unselected package libjack0:riscv64. Preparing to unpack .../159-libjack0_1%3a0.126.0-2build3_riscv64.deb ... Unpacking libjack0:riscv64 (1:0.126.0-2build3) ... Selecting previously unselected package libwebrtc-audio-processing1:riscv64. Preparing to unpack .../160-libwebrtc-audio-processing1_0.3.1-0ubuntu6_riscv64.deb ... Unpacking libwebrtc-audio-processing1:riscv64 (0.3.1-0ubuntu6) ... Selecting previously unselected package libspa-0.2-modules:riscv64. Preparing to unpack .../161-libspa-0.2-modules_1.0.5-1_riscv64.deb ... Unpacking libspa-0.2-modules:riscv64 (1.0.5-1) ... Selecting previously unselected package libpipewire-0.3-0t64:riscv64. Preparing to unpack .../162-libpipewire-0.3-0t64_1.0.5-1_riscv64.deb ... Unpacking libpipewire-0.3-0t64:riscv64 (1.0.5-1) ... Selecting previously unselected package libpulse0:riscv64. Preparing to unpack .../163-libpulse0_1%3a16.1+dfsg1-2ubuntu10_riscv64.deb ... Unpacking libpulse0:riscv64 (1:16.1+dfsg1-2ubuntu10) ... Selecting previously unselected package libsamplerate0:riscv64. Preparing to unpack .../164-libsamplerate0_0.2.2-4build1_riscv64.deb ... Unpacking libsamplerate0:riscv64 (0.2.2-4build1) ... Selecting previously unselected package libxcursor1:riscv64. Preparing to unpack .../165-libxcursor1_1%3a1.2.1-1build1_riscv64.deb ... Unpacking libxcursor1:riscv64 (1:1.2.1-1build1) ... Selecting previously unselected package libxi6:riscv64. Preparing to unpack .../166-libxi6_2%3a1.8.1-1build1_riscv64.deb ... Unpacking libxi6:riscv64 (2:1.8.1-1build1) ... Selecting previously unselected package libxrandr2:riscv64. Preparing to unpack .../167-libxrandr2_2%3a1.5.2-2build1_riscv64.deb ... Unpacking libxrandr2:riscv64 (2:1.5.2-2build1) ... Selecting previously unselected package x11-common. Preparing to unpack .../168-x11-common_1%3a7.7+23ubuntu3_all.deb ... Unpacking x11-common (1:7.7+23ubuntu3) ... Selecting previously unselected package libxss1:riscv64. Preparing to unpack .../169-libxss1_1%3a1.2.3-1build3_riscv64.deb ... Unpacking libxss1:riscv64 (1:1.2.3-1build3) ... Selecting previously unselected package libsdl2-2.0-0:riscv64. Preparing to unpack .../170-libsdl2-2.0-0_2.30.0+dfsg-1build3_riscv64.deb ... Unpacking libsdl2-2.0-0:riscv64 (2.30.0+dfsg-1build3) ... Selecting previously unselected package timgm6mb-soundfont. Preparing to unpack .../171-timgm6mb-soundfont_1.3-5_all.deb ... Unpacking timgm6mb-soundfont (1.3-5) ... Selecting previously unselected package libfluidsynth3:riscv64. Preparing to unpack .../172-libfluidsynth3_2.3.4-1build3_riscv64.deb ... Unpacking libfluidsynth3:riscv64 (2.3.4-1build3) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../173-libglib2.0-bin_2.80.0-6ubuntu1_riscv64.deb ... Unpacking libglib2.0-bin (2.80.0-6ubuntu1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../174-python3-packaging_24.0-1_all.deb ... Unpacking python3-packaging (24.0-1) ... Selecting previously unselected package libglib2.0-dev-bin. Preparing to unpack .../175-libglib2.0-dev-bin_2.80.0-6ubuntu1_riscv64.deb ... Unpacking libglib2.0-dev-bin (2.80.0-6ubuntu1) ... Selecting previously unselected package uuid-dev:riscv64. Preparing to unpack .../176-uuid-dev_2.39.3-9ubuntu6_riscv64.deb ... Unpacking uuid-dev:riscv64 (2.39.3-9ubuntu6) ... Selecting previously unselected package libblkid-dev:riscv64. Preparing to unpack .../177-libblkid-dev_2.39.3-9ubuntu6_riscv64.deb ... Unpacking libblkid-dev:riscv64 (2.39.3-9ubuntu6) ... Selecting previously unselected package libsepol-dev:riscv64. Preparing to unpack .../178-libsepol-dev_3.5-2build1_riscv64.deb ... Unpacking libsepol-dev:riscv64 (3.5-2build1) ... Selecting previously unselected package libpcre2-16-0:riscv64. Preparing to unpack .../179-libpcre2-16-0_10.42-4ubuntu2_riscv64.deb ... Unpacking libpcre2-16-0:riscv64 (10.42-4ubuntu2) ... Selecting previously unselected package libpcre2-32-0:riscv64. Preparing to unpack .../180-libpcre2-32-0_10.42-4ubuntu2_riscv64.deb ... Unpacking libpcre2-32-0:riscv64 (10.42-4ubuntu2) ... Selecting previously unselected package libpcre2-posix3:riscv64. Preparing to unpack .../181-libpcre2-posix3_10.42-4ubuntu2_riscv64.deb ... Unpacking libpcre2-posix3:riscv64 (10.42-4ubuntu2) ... Selecting previously unselected package libpcre2-dev:riscv64. Preparing to unpack .../182-libpcre2-dev_10.42-4ubuntu2_riscv64.deb ... Unpacking libpcre2-dev:riscv64 (10.42-4ubuntu2) ... Selecting previously unselected package libselinux1-dev:riscv64. Preparing to unpack .../183-libselinux1-dev_3.5-2ubuntu2_riscv64.deb ... Unpacking libselinux1-dev:riscv64 (3.5-2ubuntu2) ... Selecting previously unselected package libmount-dev:riscv64. Preparing to unpack .../184-libmount-dev_2.39.3-9ubuntu6_riscv64.deb ... Unpacking libmount-dev:riscv64 (2.39.3-9ubuntu6) ... Selecting previously unselected package zlib1g-dev:riscv64. Preparing to unpack .../185-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2_riscv64.deb ... Unpacking zlib1g-dev:riscv64 (1:1.3.dfsg-3.1ubuntu2) ... Selecting previously unselected package libgirepository-2.0-0:riscv64. Preparing to unpack .../186-libgirepository-2.0-0_2.80.0-6ubuntu1_riscv64.deb ... Unpacking libgirepository-2.0-0:riscv64 (2.80.0-6ubuntu1) ... Selecting previously unselected package libglib2.0-dev:riscv64. Preparing to unpack .../187-libglib2.0-dev_2.80.0-6ubuntu1_riscv64.deb ... Unpacking libglib2.0-dev:riscv64 (2.80.0-6ubuntu1) ... Selecting previously unselected package libout123-0t64:riscv64. Preparing to unpack .../188-libout123-0t64_1.32.5-1ubuntu1_riscv64.deb ... Unpacking libout123-0t64:riscv64 (1.32.5-1ubuntu1) ... Selecting previously unselected package libsyn123-0t64:riscv64. Preparing to unpack .../189-libsyn123-0t64_1.32.5-1ubuntu1_riscv64.deb ... Unpacking libsyn123-0t64:riscv64 (1.32.5-1ubuntu1) ... Selecting previously unselected package libmpg123-dev:riscv64. Preparing to unpack .../190-libmpg123-dev_1.32.5-1ubuntu1_riscv64.deb ... Unpacking libmpg123-dev:riscv64 (1.32.5-1ubuntu1) ... Selecting previously unselected package libopus-dev:riscv64. Preparing to unpack .../191-libopus-dev_1.4-1build1_riscv64.deb ... Unpacking libopus-dev:riscv64 (1.4-1build1) ... Selecting previously unselected package libvorbisfile3:riscv64. Preparing to unpack .../192-libvorbisfile3_1.3.7-1build3_riscv64.deb ... Unpacking libvorbisfile3:riscv64 (1.3.7-1build3) ... Selecting previously unselected package libvorbis-dev:riscv64. Preparing to unpack .../193-libvorbis-dev_1.3.7-1build3_riscv64.deb ... Unpacking libvorbis-dev:riscv64 (1.3.7-1build3) ... Selecting previously unselected package libsndfile1-dev:riscv64. Preparing to unpack .../194-libsndfile1-dev_1.2.2-1ubuntu5_riscv64.deb ... Unpacking libsndfile1-dev:riscv64 (1.2.2-1ubuntu5) ... Selecting previously unselected package libinstpatch-dev:riscv64. Preparing to unpack .../195-libinstpatch-dev_1.1.6-1build2_riscv64.deb ... Unpacking libinstpatch-dev:riscv64 (1.1.6-1build2) ... Selecting previously unselected package libjack-dev:riscv64. Preparing to unpack .../196-libjack-dev_1%3a0.126.0-2build3_riscv64.deb ... Unpacking libjack-dev:riscv64 (1:0.126.0-2build3) ... Selecting previously unselected package libspa-0.2-dev:riscv64. Preparing to unpack .../197-libspa-0.2-dev_1.0.5-1_riscv64.deb ... Unpacking libspa-0.2-dev:riscv64 (1.0.5-1) ... Selecting previously unselected package libpipewire-0.3-dev:riscv64. Preparing to unpack .../198-libpipewire-0.3-dev_1.0.5-1_riscv64.deb ... Unpacking libpipewire-0.3-dev:riscv64 (1.0.5-1) ... Selecting previously unselected package libpulse-mainloop-glib0:riscv64. Preparing to unpack .../199-libpulse-mainloop-glib0_1%3a16.1+dfsg1-2ubuntu10_riscv64.deb ... Unpacking libpulse-mainloop-glib0:riscv64 (1:16.1+dfsg1-2ubuntu10) ... Selecting previously unselected package libpulse-dev:riscv64. Preparing to unpack .../200-libpulse-dev_1%3a16.1+dfsg1-2ubuntu10_riscv64.deb ... Unpacking libpulse-dev:riscv64 (1:16.1+dfsg1-2ubuntu10) ... Selecting previously unselected package libncurses-dev:riscv64. Preparing to unpack .../201-libncurses-dev_6.4+20240113-1ubuntu2_riscv64.deb ... Unpacking libncurses-dev:riscv64 (6.4+20240113-1ubuntu2) ... Selecting previously unselected package libreadline-dev:riscv64. Preparing to unpack .../202-libreadline-dev_8.2-4build1_riscv64.deb ... Unpacking libreadline-dev:riscv64 (8.2-4build1) ... Selecting previously unselected package libgbm-dev:riscv64. Preparing to unpack .../203-libgbm-dev_24.0.5-1ubuntu1_riscv64.deb ... Unpacking libgbm-dev:riscv64 (24.0.5-1ubuntu1) ... Selecting previously unselected package libgles1:riscv64. Preparing to unpack .../204-libgles1_1.7.0-1build1_riscv64.deb ... Unpacking libgles1:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libgles2:riscv64. Preparing to unpack .../205-libgles2_1.7.0-1build1_riscv64.deb ... Unpacking libgles2:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libgles-dev:riscv64. Preparing to unpack .../206-libgles-dev_1.7.0-1build1_riscv64.deb ... Unpacking libgles-dev:riscv64 (1.7.0-1build1) ... Selecting previously unselected package libibus-1.0-dev:riscv64. Preparing to unpack .../207-libibus-1.0-dev_1.5.29-2_riscv64.deb ... Unpacking libibus-1.0-dev:riscv64 (1.5.29-2) ... Selecting previously unselected package libsamplerate0-dev:riscv64. Preparing to unpack .../208-libsamplerate0-dev_0.2.2-4build1_riscv64.deb ... Unpacking libsamplerate0-dev:riscv64 (0.2.2-4build1) ... Selecting previously unselected package libsndio7.0:riscv64. Preparing to unpack .../209-libsndio7.0_1.9.0-0.3build3_riscv64.deb ... Unpacking libsndio7.0:riscv64 (1.9.0-0.3build3) ... Selecting previously unselected package libsndio-dev:riscv64. Preparing to unpack .../210-libsndio-dev_1.9.0-0.3build3_riscv64.deb ... Unpacking libsndio-dev:riscv64 (1.9.0-0.3build3) ... Selecting previously unselected package libudev-dev:riscv64. Preparing to unpack .../211-libudev-dev_255.4-1ubuntu8_riscv64.deb ... Unpacking libudev-dev:riscv64 (255.4-1ubuntu8) ... Selecting previously unselected package libxrender-dev:riscv64. Preparing to unpack .../212-libxrender-dev_1%3a0.9.10-1.1build1_riscv64.deb ... Unpacking libxrender-dev:riscv64 (1:0.9.10-1.1build1) ... Selecting previously unselected package libxfixes-dev:riscv64. Preparing to unpack .../213-libxfixes-dev_1%3a6.0.0-2build1_riscv64.deb ... Unpacking libxfixes-dev:riscv64 (1:6.0.0-2build1) ... Selecting previously unselected package libxcursor-dev:riscv64. Preparing to unpack .../214-libxcursor-dev_1%3a1.2.1-1build1_riscv64.deb ... Unpacking libxcursor-dev:riscv64 (1:1.2.1-1build1) ... Selecting previously unselected package libxext-dev:riscv64. Preparing to unpack .../215-libxext-dev_2%3a1.3.4-1build2_riscv64.deb ... Unpacking libxext-dev:riscv64 (2:1.3.4-1build2) ... Selecting previously unselected package libxi-dev:riscv64. Preparing to unpack .../216-libxi-dev_2%3a1.8.1-1build1_riscv64.deb ... Unpacking libxi-dev:riscv64 (2:1.8.1-1build1) ... Selecting previously unselected package libxinerama1:riscv64. Preparing to unpack .../217-libxinerama1_2%3a1.1.4-3build1_riscv64.deb ... Unpacking libxinerama1:riscv64 (2:1.1.4-3build1) ... Selecting previously unselected package libxinerama-dev:riscv64. Preparing to unpack .../218-libxinerama-dev_2%3a1.1.4-3build1_riscv64.deb ... Unpacking libxinerama-dev:riscv64 (2:1.1.4-3build1) ... Selecting previously unselected package libxkbcommon-dev:riscv64. Preparing to unpack .../219-libxkbcommon-dev_1.6.0-1build1_riscv64.deb ... Unpacking libxkbcommon-dev:riscv64 (1.6.0-1build1) ... Selecting previously unselected package libxrandr-dev:riscv64. Preparing to unpack .../220-libxrandr-dev_2%3a1.5.2-2build1_riscv64.deb ... Unpacking libxrandr-dev:riscv64 (2:1.5.2-2build1) ... Selecting previously unselected package libxss-dev:riscv64. Preparing to unpack .../221-libxss-dev_1%3a1.2.3-1build3_riscv64.deb ... Unpacking libxss-dev:riscv64 (1:1.2.3-1build3) ... Selecting previously unselected package libice6:riscv64. Preparing to unpack .../222-libice6_2%3a1.0.10-1build3_riscv64.deb ... Unpacking libice6:riscv64 (2:1.0.10-1build3) ... Selecting previously unselected package libsm6:riscv64. Preparing to unpack .../223-libsm6_2%3a1.2.3-1build3_riscv64.deb ... Unpacking libsm6:riscv64 (2:1.2.3-1build3) ... Selecting previously unselected package libxt6t64:riscv64. Preparing to unpack .../224-libxt6t64_1%3a1.2.1-1.2build1_riscv64.deb ... Unpacking libxt6t64:riscv64 (1:1.2.1-1.2build1) ... Selecting previously unselected package libice-dev:riscv64. Preparing to unpack .../225-libice-dev_2%3a1.0.10-1build3_riscv64.deb ... Unpacking libice-dev:riscv64 (2:1.0.10-1build3) ... Selecting previously unselected package libsm-dev:riscv64. Preparing to unpack .../226-libsm-dev_2%3a1.2.3-1build3_riscv64.deb ... Unpacking libsm-dev:riscv64 (2:1.2.3-1build3) ... Selecting previously unselected package libxt-dev:riscv64. Preparing to unpack .../227-libxt-dev_1%3a1.2.1-1.2build1_riscv64.deb ... Unpacking libxt-dev:riscv64 (1:1.2.1-1.2build1) ... Selecting previously unselected package libxv1:riscv64. Preparing to unpack .../228-libxv1_2%3a1.0.11-1.1build1_riscv64.deb ... Unpacking libxv1:riscv64 (2:1.0.11-1.1build1) ... Selecting previously unselected package libxv-dev:riscv64. Preparing to unpack .../229-libxv-dev_2%3a1.0.11-1.1build1_riscv64.deb ... Unpacking libxv-dev:riscv64 (2:1.0.11-1.1build1) ... Selecting previously unselected package libxxf86vm-dev:riscv64. Preparing to unpack .../230-libxxf86vm-dev_1%3a1.1.4-1build4_riscv64.deb ... Unpacking libxxf86vm-dev:riscv64 (1:1.1.4-1build4) ... Selecting previously unselected package libsdl2-dev:riscv64. Preparing to unpack .../231-libsdl2-dev_2.30.0+dfsg-1build3_riscv64.deb ... Unpacking libsdl2-dev:riscv64 (2.30.0+dfsg-1build3) ... Selecting previously unselected package libsystemd-dev:riscv64. Preparing to unpack .../232-libsystemd-dev_255.4-1ubuntu8_riscv64.deb ... Unpacking libsystemd-dev:riscv64 (255.4-1ubuntu8) ... Selecting previously unselected package libfluidsynth-dev:riscv64. Preparing to unpack .../233-libfluidsynth-dev_2.3.4-1build3_riscv64.deb ... Unpacking libfluidsynth-dev:riscv64 (2.3.4-1build3) ... Selecting previously unselected package libpng-dev:riscv64. Preparing to unpack .../234-libpng-dev_1.6.43-5build1_riscv64.deb ... Unpacking libpng-dev:riscv64 (1.6.43-5build1) ... Selecting previously unselected package libfreetype-dev:riscv64. Preparing to unpack .../235-libfreetype-dev_2.13.2+dfsg-1build3_riscv64.deb ... Unpacking libfreetype-dev:riscv64 (2.13.2+dfsg-1build3) ... Selecting previously unselected package libgraphite2-dev:riscv64. Preparing to unpack .../236-libgraphite2-dev_1.3.14-2build1_riscv64.deb ... Unpacking libgraphite2-dev:riscv64 (1.3.14-2build1) ... Selecting previously unselected package libharfbuzz-cairo0:riscv64. Preparing to unpack .../237-libharfbuzz-cairo0_8.3.0-2build2_riscv64.deb ... Unpacking libharfbuzz-cairo0:riscv64 (8.3.0-2build2) ... Selecting previously unselected package libharfbuzz-icu0:riscv64. Preparing to unpack .../238-libharfbuzz-icu0_8.3.0-2build2_riscv64.deb ... Unpacking libharfbuzz-icu0:riscv64 (8.3.0-2build2) ... Selecting previously unselected package libharfbuzz-subset0:riscv64. Preparing to unpack .../239-libharfbuzz-subset0_8.3.0-2build2_riscv64.deb ... Unpacking libharfbuzz-subset0:riscv64 (8.3.0-2build2) ... Selecting previously unselected package libicu-dev:riscv64. Preparing to unpack .../240-libicu-dev_74.2-1ubuntu3_riscv64.deb ... Unpacking libicu-dev:riscv64 (74.2-1ubuntu3) ... Selecting previously unselected package libharfbuzz-dev:riscv64. Preparing to unpack .../241-libharfbuzz-dev_8.3.0-2build2_riscv64.deb ... Unpacking libharfbuzz-dev:riscv64 (8.3.0-2build2) ... Selecting previously unselected package libjpeg-turbo8:riscv64. Preparing to unpack .../242-libjpeg-turbo8_2.1.5-2ubuntu2_riscv64.deb ... Unpacking libjpeg-turbo8:riscv64 (2.1.5-2ubuntu2) ... Selecting previously unselected package libjpeg-turbo8-dev:riscv64. Preparing to unpack .../243-libjpeg-turbo8-dev_2.1.5-2ubuntu2_riscv64.deb ... Unpacking libjpeg-turbo8-dev:riscv64 (2.1.5-2ubuntu2) ... Selecting previously unselected package libjpeg8:riscv64. Preparing to unpack .../244-libjpeg8_8c-2ubuntu11_riscv64.deb ... Unpacking libjpeg8:riscv64 (8c-2ubuntu11) ... Selecting previously unselected package libjpeg8-dev:riscv64. Preparing to unpack .../245-libjpeg8-dev_8c-2ubuntu11_riscv64.deb ... Unpacking libjpeg8-dev:riscv64 (8c-2ubuntu11) ... Selecting previously unselected package libjpeg-dev:riscv64. Preparing to unpack .../246-libjpeg-dev_8c-2ubuntu11_riscv64.deb ... Unpacking libjpeg-dev:riscv64 (8c-2ubuntu11) ... Selecting previously unselected package libkpathsea6:riscv64. Preparing to unpack .../247-libkpathsea6_2023.20230311.66589-9build3_riscv64.deb ... Unpacking libkpathsea6:riscv64 (2023.20230311.66589-9build3) ... Selecting previously unselected package libmodplug1:riscv64. Preparing to unpack .../248-libmodplug1_1%3a0.8.9.0-3build1_riscv64.deb ... Unpacking libmodplug1:riscv64 (1:0.8.9.0-3build1) ... Selecting previously unselected package libmodplug-dev:riscv64. Preparing to unpack .../249-libmodplug-dev_1%3a0.8.9.0-3build1_riscv64.deb ... Unpacking libmodplug-dev:riscv64 (1:0.8.9.0-3build1) ... Selecting previously unselected package libmxml1:riscv64. Preparing to unpack .../250-libmxml1_3.3.1-1build1_riscv64.deb ... Unpacking libmxml1:riscv64 (3.3.1-1build1) ... Selecting previously unselected package libmxml-dev:riscv64. Preparing to unpack .../251-libmxml-dev_3.3.1-1build1_riscv64.deb ... Unpacking libmxml-dev:riscv64 (3.3.1-1build1) ... Selecting previously unselected package libopenal-data. Preparing to unpack .../252-libopenal-data_1%3a1.23.1-4build1_all.deb ... Unpacking libopenal-data (1:1.23.1-4build1) ... Selecting previously unselected package libopenal1:riscv64. Preparing to unpack .../253-libopenal1_1%3a1.23.1-4build1_riscv64.deb ... Unpacking libopenal1:riscv64 (1:1.23.1-4build1) ... Selecting previously unselected package libopenal-dev:riscv64. Preparing to unpack .../254-libopenal-dev_1%3a1.23.1-4build1_riscv64.deb ... Unpacking libopenal-dev:riscv64 (1:1.23.1-4build1) ... Selecting previously unselected package libopusfile0:riscv64. Preparing to unpack .../255-libopusfile0_0.12-4build3_riscv64.deb ... Unpacking libopusfile0:riscv64 (0.12-4build3) ... Selecting previously unselected package libopusfile-dev:riscv64. Preparing to unpack .../256-libopusfile-dev_0.12-4build3_riscv64.deb ... Unpacking libopusfile-dev:riscv64 (0.12-4build3) ... Selecting previously unselected package libpaper1:riscv64. Preparing to unpack .../257-libpaper1_1.1.29build1_riscv64.deb ... Unpacking libpaper1:riscv64 (1.1.29build1) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../258-libpaper-utils_1.1.29build1_riscv64.deb ... Unpacking libpaper-utils (1.1.29build1) ... Selecting previously unselected package libpotrace0:riscv64. Preparing to unpack .../259-libpotrace0_1.16-2build1_riscv64.deb ... Unpacking libpotrace0:riscv64 (1.16-2build1) ... Selecting previously unselected package libptexenc1:riscv64. Preparing to unpack .../260-libptexenc1_2023.20230311.66589-9build3_riscv64.deb ... Unpacking libptexenc1:riscv64 (2023.20230311.66589-9build3) ... Selecting previously unselected package libsdl2-mixer-2.0-0:riscv64. Preparing to unpack .../261-libsdl2-mixer-2.0-0_2.8.0+dfsg-1build3_riscv64.deb ... Unpacking libsdl2-mixer-2.0-0:riscv64 (2.8.0+dfsg-1build3) ... Selecting previously unselected package libsdl2-mixer-dev:riscv64. Preparing to unpack .../262-libsdl2-mixer-dev_2.8.0+dfsg-1build3_riscv64.deb ... Unpacking libsdl2-mixer-dev:riscv64 (2.8.0+dfsg-1build3) ... Selecting previously unselected package libsdl2-ttf-2.0-0:riscv64. Preparing to unpack .../263-libsdl2-ttf-2.0-0_2.22.0+dfsg-1_riscv64.deb ... Unpacking libsdl2-ttf-2.0-0:riscv64 (2.22.0+dfsg-1) ... Selecting previously unselected package libsdl2-ttf-dev:riscv64. Preparing to unpack .../264-libsdl2-ttf-dev_2.22.0+dfsg-1_riscv64.deb ... Unpacking libsdl2-ttf-dev:riscv64 (2.22.0+dfsg-1) ... Selecting previously unselected package libsynctex2:riscv64. Preparing to unpack .../265-libsynctex2_2023.20230311.66589-9build3_riscv64.deb ... Unpacking libsynctex2:riscv64 (2023.20230311.66589-9build3) ... Selecting previously unselected package libteckit0:riscv64. Preparing to unpack .../266-libteckit0_2.5.12+ds1-1_riscv64.deb ... Unpacking libteckit0:riscv64 (2.5.12+ds1-1) ... Selecting previously unselected package libtexlua53-5:riscv64. Preparing to unpack .../267-libtexlua53-5_2023.20230311.66589-9build3_riscv64.deb ... Unpacking libtexlua53-5:riscv64 (2023.20230311.66589-9build3) ... Selecting previously unselected package libtheora0:riscv64. Preparing to unpack .../268-libtheora0_1.1.1+dfsg.1-16.1build3_riscv64.deb ... Unpacking libtheora0:riscv64 (1.1.1+dfsg.1-16.1build3) ... Selecting previously unselected package libtheora-dev:riscv64. Preparing to unpack .../269-libtheora-dev_1.1.1+dfsg.1-16.1build3_riscv64.deb ... Unpacking libtheora-dev:riscv64 (1.1.1+dfsg.1-16.1build3) ... Selecting previously unselected package libxmu6:riscv64. Preparing to unpack .../270-libxmu6_2%3a1.1.3-3build2_riscv64.deb ... Unpacking libxmu6:riscv64 (2:1.1.3-3build2) ... Selecting previously unselected package libxpm4:riscv64. Preparing to unpack .../271-libxpm4_1%3a3.5.17-1build2_riscv64.deb ... Unpacking libxpm4:riscv64 (1:3.5.17-1build2) ... Selecting previously unselected package libxaw7:riscv64. Preparing to unpack .../272-libxaw7_2%3a1.0.14-1build2_riscv64.deb ... Unpacking libxaw7:riscv64 (2:1.0.14-1build2) ... Selecting previously unselected package libxml2-dev:riscv64. Preparing to unpack .../273-libxml2-dev_2.9.14+dfsg-1.3ubuntu3_riscv64.deb ... Unpacking libxml2-dev:riscv64 (2.9.14+dfsg-1.3ubuntu3) ... Selecting previously unselected package libxvidcore4:riscv64. Preparing to unpack .../274-libxvidcore4_2%3a1.3.7-1build1_riscv64.deb ... Unpacking libxvidcore4:riscv64 (2:1.3.7-1build1) ... Selecting previously unselected package libxvidcore-dev:riscv64. Preparing to unpack .../275-libxvidcore-dev_2%3a1.3.7-1build1_riscv64.deb ... Unpacking libxvidcore-dev:riscv64 (2:1.3.7-1build1) ... Selecting previously unselected package libzzip-0-13t64:riscv64. Preparing to unpack .../276-libzzip-0-13t64_0.13.72+dfsg.1-1.2build1_riscv64.deb ... Unpacking libzzip-0-13t64:riscv64 (0.13.72+dfsg.1-1.2build1) ... Selecting previously unselected package tex-common. Preparing to unpack .../277-tex-common_6.18_all.deb ... Unpacking tex-common (6.18) ... Selecting previously unselected package preview-latex-style. Preparing to unpack .../278-preview-latex-style_13.2-1_all.deb ... Unpacking preview-latex-style (13.2-1) ... Selecting previously unselected package t1utils. Preparing to unpack .../279-t1utils_1.41-4build3_riscv64.deb ... Unpacking t1utils (1.41-4build3) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../280-texlive-binaries_2023.20230311.66589-9build3_riscv64.deb ... Unpacking texlive-binaries (2023.20230311.66589-9build3) ... Selecting previously unselected package xdg-utils. Preparing to unpack .../281-xdg-utils_1.1.3-4.1ubuntu3_all.deb ... Unpacking xdg-utils (1.1.3-4.1ubuntu3) ... Selecting previously unselected package texlive-base. Preparing to unpack .../282-texlive-base_2023.20240207-1_all.deb ... Unpacking texlive-base (2023.20240207-1) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../283-texlive-latex-base_2023.20240207-1_all.deb ... Unpacking texlive-latex-base (2023.20240207-1) ... Selecting previously unselected package libfontbox-java. Preparing to unpack .../284-libfontbox-java_1%3a1.8.16-5_all.deb ... Unpacking libfontbox-java (1:1.8.16-5) ... Selecting previously unselected package libpdfbox-java. Preparing to unpack .../285-libpdfbox-java_1%3a1.8.16-5_all.deb ... Unpacking libpdfbox-java (1:1.8.16-5) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../286-texlive-latex-recommended_2023.20240207-1_all.deb ... Unpacking texlive-latex-recommended (2023.20240207-1) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../287-texlive-pictures_2023.20240207-1_all.deb ... Unpacking texlive-pictures (2023.20240207-1) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../288-texlive-latex-extra_2023.20240207-1_all.deb ... Unpacking texlive-latex-extra (2023.20240207-1) ... Selecting previously unselected package zip. Preparing to unpack .../289-zip_3.0-13build1_riscv64.deb ... Unpacking zip (3.0-13build1) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../290-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:riscv64 (1.5.7-2) ... Setting up libgraphite2-3:riscv64 (1.3.14-2build1) ... Setting up libpixman-1-0:riscv64 (0.42.2-1build1) ... Setting up libmodplug1:riscv64 (1:0.8.9.0-3build1) ... Setting up libwayland-server0:riscv64 (1.22.0-2.1build1) ... Setting up libpciaccess0:riscv64 (0.17-3build1) ... Setting up libxau6:riscv64 (1:1.0.9-1build6) ... Setting up libmodplug-dev:riscv64 (1:0.8.9.0-3build1) ... Setting up libpciaccess-dev:riscv64 (0.17-3build1) ... Setting up libogg0:riscv64 (1.3.5-3build1) ... Setting up libmagic-mgc (1:5.45-3build1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglvnd0:riscv64 (1.7.0-1build1) ... Setting up libdebhelper-perl (13.14.1ubuntu5) ... Setting up libbrotli1:riscv64 (1.1.0-2build2) ... Setting up libfontbox-java (1:1.8.16-5) ... Setting up libmagic1t64:riscv64 (1:5.45-3build1) ... Setting up x11-common (1:7.7+23ubuntu3) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libsensors-config (1:3.6.0-9build1) ... Setting up libpsl5t64:riscv64 (0.21.2-1.1build1) ... Setting up libnghttp2-14:riscv64 (1.59.0-1build4) ... Setting up libwebrtc-audio-processing1:riscv64 (0.3.1-0ubuntu6) ... Setting up gettext-base (0.21-14ubuntu2) ... Setting up m4 (1.4.19-4build1) ... Setting up xkb-data (2.41-2ubuntu1) ... Setting up file (1:5.45-3build1) ... Setting up libogg-dev:riscv64 (1.3.5-3build1) ... Setting up libmpg123-0t64:riscv64 (1.32.5-1ubuntu1) ... Setting up libxvidcore4:riscv64 (2:1.3.7-1build1) ... Setting up libffi-dev:riscv64 (3.4.6-1build1) ... Setting up libpthread-stubs0-dev:riscv64 (0.4-1build3) ... Setting up libpcre2-16-0:riscv64 (10.42-4ubuntu2) ... Setting up libelf1t64:riscv64 (0.190-1.1build4) ... Setting up libdw1t64:riscv64 (0.190-1.1build4) ... Setting up libsasl2-modules-db:riscv64 (2.1.28+dfsg1-5ubuntu3) ... Setting up libasound2-data (1.2.11-1build2) ... Setting up xtrans-dev (1.4.0-1) ... Setting up libgraphite2-dev:riscv64 (1.3.14-2build1) ... Setting up zip (3.0-13build1) ... Setting up autotools-dev (20220109.1) ... Setting up libpcre2-32-0:riscv64 (10.42-4ubuntu2) ... Setting up libglib2.0-0t64:riscv64 (2.80.0-6ubuntu1) ... No schema files found: doing nothing. Setting up libglib2.0-data (2.80.0-6ubuntu1) ... Setting up libpkgconf3:riscv64 (1.8.1-2build1) ... Setting up libgles2:riscv64 (1.7.0-1build1) ... Setting up libasound2t64:riscv64 (1.2.11-1build2) ... Setting up libzzip-0-13t64:riscv64 (0.13.72+dfsg.1-1.2build1) ... Setting up libfreetype6:riscv64 (2.13.2+dfsg-1build3) ... Setting up libx11-data (2:1.8.7-1build1) ... Setting up libsyn123-0t64:riscv64 (1.32.5-1ubuntu1) ... Setting up librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build7) ... Setting up libteckit0:riscv64 (2.5.12+ds1-1) ... Setting up libjack0:riscv64 (1:0.126.0-2build3) ... Setting up uuid-dev:riscv64 (2.39.3-9ubuntu6) ... Setting up libapache-pom-java (29-2) ... Setting up libncurses6:riscv64 (6.4+20240113-1ubuntu2) ... Setting up libgles1:riscv64 (1.7.0-1build1) ... Setting up libdbus-1-3:riscv64 (1.14.10-4ubuntu4) ... Setting up libopus0:riscv64 (1.4-1build1) ... Setting up t1utils (1.41-4build3) ... Setting up libtexlua53-5:riscv64 (2023.20230311.66589-9build3) ... Setting up fonts-dejavu-mono (2.37-8) ... Setting up libvorbis0a:riscv64 (1.3.7-1build3) ... Setting up autopoint (0.21-14ubuntu2) ... Setting up fonts-dejavu-core (2.37-8) ... Setting up libmxml1:riscv64 (3.3.1-1build1) ... Setting up libudev-dev:riscv64 (255.4-1ubuntu8) ... Setting up libsepol-dev:riscv64 (3.5-2build1) ... Setting up ucf (3.0043+nmu1) ... Setting up pkgconf-bin (1.8.1-2build1) ... Setting up gir1.2-glib-2.0:riscv64 (2.80.0-6ubuntu1) ... Setting up libsensors5:riscv64 (1:3.6.0-9build1) ... Setting up libjpeg-turbo8:riscv64 (2.1.5-2ubuntu2) ... Setting up libglapi-mesa:riscv64 (24.0.5-1ubuntu1) ... Setting up libkpathsea6:riscv64 (2023.20230311.66589-9build3) ... Setting up libsasl2-2:riscv64 (2.1.28+dfsg1-5ubuntu3) ... Setting up libssh-4:riscv64 (0.10.6-2build2) ... Setting up libvulkan1:riscv64 (1.3.275.0-1build1) ... Setting up autoconf (2.71-3) ... Setting up libicu74:riscv64 (74.2-1ubuntu3) ... Setting up libout123-0t64:riscv64 (1.32.5-1ubuntu1) ... Setting up zlib1g-dev:riscv64 (1:1.3.dfsg-3.1ubuntu2) ... Setting up libpcre2-posix3:riscv64 (10.42-4ubuntu2) ... Setting up dwz (0.15-1build6) ... Setting up gir1.2-glib-2.0-dev:riscv64 (2.80.0-6ubuntu1) ... Setting up libasyncns0:riscv64 (0.8-6build4) ... Setting up libxshmfence1:riscv64 (1.3-1build5) ... Setting up libuchardet0:riscv64 (0.0.8-1build1) ... Setting up debugedit (1:5.0-5build2) ... Setting up fonts-lmodern (2.005-1) ... Setting up libsub-override-perl (0.10-1) ... Setting up libharfbuzz0b:riscv64 (8.3.0-2build2) ... Setting up libcunit1:riscv64 (2.1-3-dfsg-2.7) ... Setting up libopenal-data (1:1.23.1-4build1) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up netbase (6.4) ... Setting up sgml-base (1.31) ... Setting up libflac12t64:riscv64 (1.4.3+ds-2.1ubuntu2) ... Setting up libwayland-egl1:riscv64 (1.22.0-2.1build1) ... Setting up libspa-0.2-dev:riscv64 (1.0.5-1) ... Setting up libasound2-dev:riscv64 (1.2.11-1build2) ... Setting up libsamplerate0:riscv64 (0.2.2-4build1) ... Setting up timgm6mb-soundfont (1.3-5) ... update-alternatives: using /usr/share/sounds/sf2/TimGM6mb.sf2 to provide /usr/share/sounds/sf2/default-GM.sf2 (default-GM.sf2) in auto mode update-alternatives: using /usr/share/sounds/sf2/TimGM6mb.sf2 to provide /usr/share/sounds/sf3/default-GM.sf3 (default-GM.sf3) in auto mode Setting up libbsd0:riscv64 (0.12.1-1build1) ... Setting up libdrm-common (2.4.120-2build1) ... Setting up libopusfile0:riscv64 (0.12-4build3) ... Setting up libxml2:riscv64 (2.9.14+dfsg-1.3ubuntu3) ... Setting up xdg-utils (1.1.3-4.1ubuntu3) ... update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode Setting up libldap2:riscv64 (2.6.7+dfsg-1~exp1ubuntu8) ... Setting up libsystemd-dev:riscv64 (255.4-1ubuntu8) ... Setting up libbrotli-dev:riscv64 (1.1.0-2build2) ... Setting up libmp3lame0:riscv64 (3.100-6build1) ... Setting up libvorbisenc2:riscv64 (1.3.7-1build3) ... Setting up libsynctex2:riscv64 (2023.20230311.66589-9build3) ... Setting up libbz2-dev:riscv64 (1.0.8-5.1) ... Setting up libxkbcommon0:riscv64 (1.6.0-1build1) ... Setting up libpotrace0:riscv64 (1.16-2build1) ... Setting up libwayland-client0:riscv64 (1.22.0-2.1build1) ... Setting up libjpeg8:riscv64 (8c-2ubuntu11) ... Setting up automake (1:1.16.5-1.3ubuntu1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up x11proto-dev (2023.2-1) ... Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up libblkid-dev:riscv64 (2.39.3-9ubuntu6) ... Setting up libpaper1:riscv64 (1.1.29build1) ... Creating config file /etc/papersize with new version Setting up libice6:riscv64 (2:1.0.10-1build3) ... Setting up libjpeg-turbo8-dev:riscv64 (2.1.5-2ubuntu2) ... Setting up libxdmcp6:riscv64 (1:1.1.3-0ubuntu6) ... Setting up libflac-dev:riscv64 (1.4.3+ds-2.1ubuntu2) ... Setting up libncurses-dev:riscv64 (6.4+20240113-1ubuntu2) ... Setting up libxcb1:riscv64 (1.15-1ubuntu2) ... Setting up gettext (0.21-14ubuntu2) ... Setting up libharfbuzz-icu0:riscv64 (8.3.0-2build2) ... Setting up libxcb-xfixes0:riscv64 (1.15-1ubuntu2) ... Setting up libpdfbox-java (1:1.8.16-5) ... Setting up libxau-dev:riscv64 (1:1.0.9-1build6) ... Setting up libpython3.12-stdlib:riscv64 (3.12.3-1) ... Setting up libpcre2-dev:riscv64 (10.42-4ubuntu2) ... Setting up libxvidcore-dev:riscv64 (2:1.3.7-1build1) ... Setting up libmxml-dev:riscv64 (3.3.1-1build1) ... Setting up libice-dev:riscv64 (2:1.0.10-1build3) ... Setting up libtool (2.4.7-7build1) ... Setting up libgirepository-2.0-0:riscv64 (2.80.0-6ubuntu1) ... Setting up libxcb-render0:riscv64 (1.15-1ubuntu2) ... Setting up libselinux1-dev:riscv64 (3.5-2ubuntu2) ... Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... Setting up libxcb-glx0:riscv64 (1.15-1ubuntu2) ... Setting up libxkbcommon-dev:riscv64 (1.6.0-1build1) ... Setting up python3.12 (3.12.3-1) ... Setting up libedit2:riscv64 (3.1-20230828-1build1) ... Setting up libpng-dev:riscv64 (1.6.43-5build1) ... Setting up libcommons-parent-java (56-1) ... Setting up libibus-1.0-5:riscv64 (1.5.29-2) ... Setting up libcurl3t64-gnutls:riscv64 (8.5.0-2ubuntu10) ... Setting up libcommons-logging-java (1.3.0-1ubuntu1) ... Setting up libglib2.0-bin (2.80.0-6ubuntu1) ... Setting up libxcb-shm0:riscv64 (1.15-1ubuntu2) ... Setting up libharfbuzz-gobject0:riscv64 (8.3.0-2build2) ... Setting up libpaper-utils (1.1.29build1) ... Setting up libreadline-dev:riscv64 (8.2-4build1) ... Setting up libcurl4-gnutls-dev:riscv64 (8.5.0-2ubuntu10) ... Setting up libopus-dev:riscv64 (1.4-1build1) ... Setting up libmpg123-dev:riscv64 (1.32.5-1ubuntu1) ... Setting up pkgconf:riscv64 (1.8.1-2build1) ... Setting up libfreetype-dev:riscv64 (2.13.2+dfsg-1build3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up libxcb-present0:riscv64 (1.15-1ubuntu2) ... Setting up dh-autoreconf (20) ... Setting up tex-common (6.18) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libvorbisfile3:riscv64 (1.3.7-1build3) ... Setting up libxdmcp-dev:riscv64 (1:1.1.3-0ubuntu6) ... Setting up libwayland-bin (1.22.0-2.1build1) ... Setting up libptexenc1:riscv64 (2023.20230311.66589-9build3) ... Setting up libllvm17t64:riscv64 (1:17.0.6-9ubuntu1) ... Setting up libspa-0.2-modules:riscv64 (1.0.5-1) ... Setting up libxcb-sync1:riscv64 (1.15-1ubuntu2) ... Setting up libcunit1-dev:riscv64 (2.1-3-dfsg-2.7) ... Setting up icu-devtools (74.2-1ubuntu3) ... Setting up libsndio7.0:riscv64 (1.9.0-0.3build3) ... Setting up libxcb-dri2-0:riscv64 (1.15-1ubuntu2) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up libdrm2:riscv64 (2.4.120-2build1) ... Setting up groff-base (1.23.0-3build2) ... Setting up libwayland-cursor0:riscv64 (1.22.0-2.1build1) ... Setting up libxcb-randr0:riscv64 (1.15-1ubuntu2) ... Setting up xml-core (0.19) ... Setting up libdecor-0-0:riscv64 (0.2.2-1build2) ... Setting up libharfbuzz-subset0:riscv64 (8.3.0-2build2) ... Setting up libx11-6:riscv64 (2:1.8.7-1build1) ... Setting up libfontconfig1:riscv64 (2.15.0-1.1ubuntu2) ... Setting up libjack-dev:riscv64 (1:0.126.0-2build3) ... Setting up libsndfile1:riscv64 (1.2.2-1ubuntu5) ... Setting up libjpeg8-dev:riscv64 (8c-2ubuntu11) ... Setting up gir1.2-ibus-1.0:riscv64 (1.5.29-2) ... Setting up libsm6:riscv64 (2:1.2.3-1build3) ... Setting up libpipewire-0.3-0t64:riscv64 (1.0.5-1) ... Setting up libicu-dev:riscv64 (74.2-1ubuntu3) ... Setting up libinstpatch-1.0-2:riscv64 (1.1.6-1build2) ... Setting up libmount-dev:riscv64 (2.39.3-9ubuntu6) ... Setting up libpython3-stdlib:riscv64 (3.12.3-0ubuntu1) ... Setting up libdrm-amdgpu1:riscv64 (2.4.120-2build1) ... Setting up libvorbis-dev:riscv64 (1.3.7-1build3) ... Setting up libxcb-dri3-0:riscv64 (1.15-1ubuntu2) ... Setting up libx11-xcb1:riscv64 (2:1.8.7-1build1) ... Setting up libdrm-nouveau2:riscv64 (2.4.120-2build1) ... Setting up libsndio-dev:riscv64 (1.9.0-0.3build3) ... Setting up libxcb1-dev:riscv64 (1.15-1ubuntu2) ... Setting up libxpm4:riscv64 (1:3.5.17-1build2) ... Setting up libxrender1:riscv64 (1:0.9.10-1.1build1) ... Setting up libgbm1:riscv64 (24.0.5-1ubuntu1) ... Setting up libpulse0:riscv64 (1:16.1+dfsg1-2ubuntu10) ... Setting up libsm-dev:riscv64 (2:1.2.3-1build3) ... Setting up libdrm-radeon1:riscv64 (2.4.120-2build1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up preview-latex-style (13.2-1) ... Setting up libsamplerate0-dev:riscv64 (0.2.2-4build1) ... Setting up libgl1-mesa-dri:riscv64 (24.0.5-1ubuntu1) ... Setting up libjpeg-dev:riscv64 (8c-2ubuntu11) ... Setting up libx11-dev:riscv64 (2:1.8.7-1build1) ... Setting up libxext6:riscv64 (2:1.3.4-1build2) ... Setting up python3 (3.12.3-0ubuntu1) ... Setting up libopenal1:riscv64 (1:1.23.1-4build1) ... Setting up libopusfile-dev:riscv64 (0.12-4build3) ... Setting up man-db (2.12.0-4build2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /usr/lib/systemd/system/man-db.timer. Setting up libwayland-dev:riscv64 (1.22.0-2.1build1) ... Setting up libcairo2:riscv64 (1.18.0-3build1) ... Setting up libgbm-dev:riscv64 (24.0.5-1ubuntu1) ... Setting up libxxf86vm1:riscv64 (1:1.1.4-1build4) ... Setting up libdecor-0-dev:riscv64 (0.2.2-1build2) ... Setting up libxml2-dev:riscv64 (2.9.14+dfsg-1.3ubuntu3) ... Setting up libegl-mesa0:riscv64 (24.0.5-1ubuntu1) ... Setting up python3-packaging (24.0-1) ... Setting up libharfbuzz-cairo0:riscv64 (8.3.0-2build2) ... Setting up libxfixes3:riscv64 (1:6.0.0-2build1) ... Setting up libsndfile1-dev:riscv64 (1.2.2-1ubuntu5) ... Setting up libpulse-mainloop-glib0:riscv64 (1:16.1+dfsg1-2ubuntu10) ... Setting up libxinerama1:riscv64 (2:1.1.4-3build1) ... Setting up libxt6t64:riscv64 (1:1.2.1-1.2build1) ... Setting up libxv1:riscv64 (2:1.0.11-1.1build1) ... Setting up libxrandr2:riscv64 (2:1.5.2-2build1) ... Setting up libxext-dev:riscv64 (2:1.3.4-1build2) ... Setting up libpipewire-0.3-dev:riscv64 (1.0.5-1) ... Setting up libtheora0:riscv64 (1.1.1+dfsg.1-16.1build3) ... Setting up libegl1:riscv64 (1.7.0-1build1) ... Setting up libcairo-gobject2:riscv64 (1.18.0-3build1) ... Setting up libxss1:riscv64 (1:1.2.3-1build3) ... Setting up libxrender-dev:riscv64 (1:0.9.10-1.1build1) ... Setting up libglib2.0-dev-bin (2.80.0-6ubuntu1) ... Setting up libdrm-dev:riscv64 (2.4.120-2build1) ... Setting up libxmu6:riscv64 (2:1.1.3-3build2) ... Setting up gir1.2-freedesktop:riscv64 (1.80.1-1) ... Setting up libglx-mesa0:riscv64 (24.0.5-1ubuntu1) ... Setting up libxi6:riscv64 (2:1.8.1-1build1) ... Setting up libglx0:riscv64 (1.7.0-1build1) ... Setting up libopenal-dev:riscv64 (1:1.23.1-4build1) ... Setting up libxxf86vm-dev:riscv64 (1:1.1.4-1build4) ... Setting up libxcursor1:riscv64 (1:1.2.1-1build1) ... Setting up debhelper (13.14.1ubuntu5) ... Setting up libxaw7:riscv64 (2:1.0.14-1build2) ... Setting up libxss-dev:riscv64 (1:1.2.3-1build3) ... Setting up gir1.2-harfbuzz-0.0:riscv64 (8.3.0-2build2) ... Setting up libxfixes-dev:riscv64 (1:6.0.0-2build1) ... Setting up libxv-dev:riscv64 (2:1.0.11-1.1build1) ... Setting up libxrandr-dev:riscv64 (2:1.5.2-2build1) ... Setting up libgl1:riscv64 (1.7.0-1build1) ... Setting up libtheora-dev:riscv64 (1.1.1+dfsg.1-16.1build3) ... Setting up libglib2.0-dev:riscv64 (2.80.0-6ubuntu1) ... Setting up libxt-dev:riscv64 (1:1.2.1-1.2build1) ... Setting up gir1.2-freedesktop-dev:riscv64 (1.80.1-1) ... Setting up libxinerama-dev:riscv64 (2:1.1.4-3build1) ... Setting up libpulse-dev:riscv64 (1:16.1+dfsg1-2ubuntu10) ... Setting up texlive-binaries (2023.20230311.66589-9build3) ... update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode Setting up libglx-dev:riscv64 (1.7.0-1build1) ... Setting up libxi-dev:riscv64 (2:1.8.1-1build1) ... Setting up libsdl2-2.0-0:riscv64 (2.30.0+dfsg-1build3) ... Setting up libinstpatch-dev:riscv64 (1.1.6-1build2) ... Setting up texlive-base (2023.20240207-1) ... tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex Setting up libgl-dev:riscv64 (1.7.0-1build1) ... Setting up libfluidsynth3:riscv64 (2.3.4-1build3) ... Setting up libharfbuzz-dev:riscv64 (8.3.0-2build2) ... Setting up libegl-dev:riscv64 (1.7.0-1build1) ... Setting up libxcursor-dev:riscv64 (1:1.2.1-1build1) ... Setting up libsdl2-mixer-2.0-0:riscv64 (2.8.0+dfsg-1build3) ... Setting up texlive-latex-base (2023.20240207-1) ... Setting up texlive-latex-recommended (2023.20240207-1) ... Setting up texlive-pictures (2023.20240207-1) ... Setting up libsdl2-ttf-2.0-0:riscv64 (2.22.0+dfsg-1) ... Setting up libgles-dev:riscv64 (1.7.0-1build1) ... Setting up texlive-latex-extra (2023.20240207-1) ... Processing triggers for libc-bin (2.39-0ubuntu8) ... Processing triggers for systemd (255.4-1ubuntu8) ... Processing triggers for sgml-base (1.31) ... Setting up libdbus-1-dev:riscv64 (1.14.10-4ubuntu4) ... Setting up libibus-1.0-dev:riscv64 (1.5.29-2) ... Setting up libsdl2-dev:riscv64 (2.30.0+dfsg-1build3) ... Setting up libfluidsynth-dev:riscv64 (2.3.4-1build3) ... Setting up libsdl2-ttf-dev:riscv64 (2.22.0+dfsg-1) ... Setting up libsdl2-mixer-dev:riscv64 (2.8.0+dfsg-1build3) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for tex-common (6.18) ... Running updmap-sys. This may take some time... done. Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done. +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 6.5.0-28-generic #29.1~22.04.1-Ubuntu SMP Wed Apr 10 02:20:48 UTC 2024 riscv64 (riscv64) Toolchain package versions: binutils_2.42-4ubuntu2 dpkg-dev_1.22.6ubuntu6 g++-13_13.2.0-23ubuntu4 gcc-13_13.2.0-23ubuntu4 libc6-dev_2.39-0ubuntu8 libstdc++-13-dev_13.2.0-23ubuntu4 libstdc++6_14-20240412-0ubuntu1 linux-libc-dev_6.8.0-31.31 Package versions: adduser_3.137ubuntu1 advancecomp_2.5-1build1 apt_2.7.14build2 apt-utils_2.7.14build2 autoconf_2.71-3 automake_1:1.16.5-1.3ubuntu1 autopoint_0.21-14ubuntu2 autotools-dev_20220109.1 base-files_13ubuntu10 base-passwd_3.6.3build1 bash_5.2.21-2ubuntu4 bash-completion_1:2.11-8 binutils_2.42-4ubuntu2 binutils-common_2.42-4ubuntu2 binutils-riscv64-linux-gnu_2.42-4ubuntu2 bsdextrautils_2.39.3-9ubuntu6 bsdutils_1:2.39.3-9ubuntu6 build-essential_12.10ubuntu1 bzip2_1.0.8-5.1 ca-certificates_20240203 coreutils_9.4-3ubuntu6 cpp_4:13.2.0-7ubuntu1 cpp-13_13.2.0-23ubuntu4 cpp-13-riscv64-linux-gnu_13.2.0-23ubuntu4 cpp-riscv64-linux-gnu_4:13.2.0-7ubuntu1 dash_0.5.12-6ubuntu5 debconf_1.5.86ubuntu1 debconf-i18n_1.5.86ubuntu1 debhelper_13.14.1ubuntu5 debianutils_5.17build1 debugedit_1:5.0-5build2 dh-autoreconf_20 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.10-1build1 dpkg_1.22.6ubuntu6 dpkg-dev_1.22.6ubuntu6 dwz_0.15-1build6 e2fsprogs_1.47.0-2.4~exp1ubuntu4 fakeroot_1.33-1 file_1:5.45-3build1 findutils_4.9.0-5build1 fontconfig-config_2.15.0-1.1ubuntu2 fonts-dejavu-core_2.37-8 fonts-dejavu-mono_2.37-8 fonts-lmodern_2.005-1 g++_4:13.2.0-7ubuntu1 g++-13_13.2.0-23ubuntu4 g++-13-riscv64-linux-gnu_13.2.0-23ubuntu4 g++-riscv64-linux-gnu_4:13.2.0-7ubuntu1 gcc_4:13.2.0-7ubuntu1 gcc-13_13.2.0-23ubuntu4 gcc-13-base_13.2.0-23ubuntu4 gcc-13-riscv64-linux-gnu_13.2.0-23ubuntu4 gcc-14-base_14-20240412-0ubuntu1 gcc-riscv64-linux-gnu_4:13.2.0-7ubuntu1 gettext_0.21-14ubuntu2 gettext-base_0.21-14ubuntu2 gir1.2-freedesktop_1.80.1-1 gir1.2-freedesktop-dev_1.80.1-1 gir1.2-glib-2.0_2.80.0-6ubuntu1 gir1.2-glib-2.0-dev_2.80.0-6ubuntu1 gir1.2-harfbuzz-0.0_8.3.0-2build2 gir1.2-ibus-1.0_1.5.29-2 gpg_2.4.4-2ubuntu17 gpg-agent_2.4.4-2ubuntu17 gpgconf_2.4.4-2ubuntu17 gpgv_2.4.4-2ubuntu17 grep_3.11-4build1 groff-base_1.23.0-3build2 gzip_1.12-1ubuntu3 hostname_3.23+nmu2ubuntu2 icu-devtools_74.2-1ubuntu3 init_1.66ubuntu1 init-system-helpers_1.66ubuntu1 intltool-debian_0.35.0+20060710.6 krb5-locales_1.20.1-6ubuntu2 libacl1_2.3.2-1build1 libapache-pom-java_29-2 libapparmor1_4.0.0-beta3-0ubuntu3 libapt-pkg6.0t64_2.7.14build2 libarchive-zip-perl_1.68-1 libargon2-1_0~20190702+dfsg-4build1 libasan8_14-20240412-0ubuntu1 libasound2-data_1.2.11-1build2 libasound2-dev_1.2.11-1build2 libasound2t64_1.2.11-1build2 libassuan0_2.5.6-1build1 libasyncns0_0.8-6build4 libatomic1_14-20240412-0ubuntu1 libattr1_1:2.5.2-1build1 libaudit-common_1:3.1.2-2.1build1 libaudit1_1:3.1.2-2.1build1 libbinutils_2.42-4ubuntu2 libblkid-dev_2.39.3-9ubuntu6 libblkid1_2.39.3-9ubuntu6 libbrotli-dev_1.1.0-2build2 libbrotli1_1.1.0-2build2 libbsd0_0.12.1-1build1 libbz2-1.0_1.0.8-5.1 libbz2-dev_1.0.8-5.1 libc-bin_2.39-0ubuntu8 libc-dev-bin_2.39-0ubuntu8 libc6_2.39-0ubuntu8 libc6-dev_2.39-0ubuntu8 libcairo-gobject2_1.18.0-3build1 libcairo2_1.18.0-3build1 libcap-ng0_0.8.4-2build2 libcap2_1:2.66-5ubuntu2 libcc1-0_14-20240412-0ubuntu1 libcom-err2_1.47.0-2.4~exp1ubuntu4 libcommons-logging-java_1.3.0-1ubuntu1 libcommons-parent-java_56-1 libcrypt-dev_1:4.4.36-4build1 libcrypt1_1:4.4.36-4build1 libcryptsetup12_2:2.7.0-1ubuntu4 libctf-nobfd0_2.42-4ubuntu2 libctf0_2.42-4ubuntu2 libcunit1_2.1-3-dfsg-2.7 libcunit1-dev_2.1-3-dfsg-2.7 libcurl3t64-gnutls_8.5.0-2ubuntu10 libcurl4-gnutls-dev_8.5.0-2ubuntu10 libdb5.3t64_5.3.28+dfsg2-7 libdbus-1-3_1.14.10-4ubuntu4 libdbus-1-dev_1.14.10-4ubuntu4 libdebconfclient0_0.271ubuntu3 libdebhelper-perl_13.14.1ubuntu5 libdecor-0-0_0.2.2-1build2 libdecor-0-dev_0.2.2-1build2 libdevmapper1.02.1_2:1.02.185-3ubuntu3 libdpkg-perl_1.22.6ubuntu6 libdrm-amdgpu1_2.4.120-2build1 libdrm-common_2.4.120-2build1 libdrm-dev_2.4.120-2build1 libdrm-nouveau2_2.4.120-2build1 libdrm-radeon1_2.4.120-2build1 libdrm2_2.4.120-2build1 libdw1t64_0.190-1.1build4 libedit2_3.1-20230828-1build1 libegl-dev_1.7.0-1build1 libegl-mesa0_24.0.5-1ubuntu1 libegl1_1.7.0-1build1 libelf1t64_0.190-1.1build4 libexpat1_2.6.1-2build1 libext2fs2t64_1.47.0-2.4~exp1ubuntu4 libfakeroot_1.33-1 libfdisk1_2.39.3-9ubuntu6 libffi-dev_3.4.6-1build1 libffi8_3.4.6-1build1 libfile-stripnondeterminism-perl_1.13.1-1 libflac-dev_1.4.3+ds-2.1ubuntu2 libflac12t64_1.4.3+ds-2.1ubuntu2 libfluidsynth-dev_2.3.4-1build3 libfluidsynth3_2.3.4-1build3 libfontbox-java_1:1.8.16-5 libfontconfig1_2.15.0-1.1ubuntu2 libfreetype-dev_2.13.2+dfsg-1build3 libfreetype6_2.13.2+dfsg-1build3 libgbm-dev_24.0.5-1ubuntu1 libgbm1_24.0.5-1ubuntu1 libgcc-13-dev_13.2.0-23ubuntu4 libgcc-s1_14-20240412-0ubuntu1 libgcrypt20_1.10.3-2build1 libgdbm-compat4t64_1.23-5.1build1 libgdbm6t64_1.23-5.1build1 libgirepository-2.0-0_2.80.0-6ubuntu1 libgl-dev_1.7.0-1build1 libgl1_1.7.0-1build1 libgl1-mesa-dri_24.0.5-1ubuntu1 libglapi-mesa_24.0.5-1ubuntu1 libgles-dev_1.7.0-1build1 libgles1_1.7.0-1build1 libgles2_1.7.0-1build1 libglib2.0-0t64_2.80.0-6ubuntu1 libglib2.0-bin_2.80.0-6ubuntu1 libglib2.0-data_2.80.0-6ubuntu1 libglib2.0-dev_2.80.0-6ubuntu1 libglib2.0-dev-bin_2.80.0-6ubuntu1 libglvnd0_1.7.0-1build1 libglx-dev_1.7.0-1build1 libglx-mesa0_24.0.5-1ubuntu1 libglx0_1.7.0-1build1 libgmp10_2:6.3.0+dfsg-2ubuntu6 libgnutls30t64_3.8.3-1.1ubuntu3 libgomp1_14-20240412-0ubuntu1 libgpg-error-l10n_1.47-3build2 libgpg-error0_1.47-3build2 libgpm2_1.20.7-11 libgraphite2-3_1.3.14-2build1 libgraphite2-dev_1.3.14-2build1 libgssapi-krb5-2_1.20.1-6ubuntu2 libharfbuzz-cairo0_8.3.0-2build2 libharfbuzz-dev_8.3.0-2build2 libharfbuzz-gobject0_8.3.0-2build2 libharfbuzz-icu0_8.3.0-2build2 libharfbuzz-subset0_8.3.0-2build2 libharfbuzz0b_8.3.0-2build2 libhogweed6t64_3.9.1-2.2build1 libibus-1.0-5_1.5.29-2 libibus-1.0-dev_1.5.29-2 libice-dev_2:1.0.10-1build3 libice6_2:1.0.10-1build3 libicu-dev_74.2-1ubuntu3 libicu74_74.2-1ubuntu3 libidn2-0_2.3.7-2build1 libinstpatch-1.0-2_1.1.6-1build2 libinstpatch-dev_1.1.6-1build2 libip4tc2_1.8.10-3ubuntu2 libisl23_0.26-3build1 libjack-dev_1:0.126.0-2build3 libjack0_1:0.126.0-2build3 libjansson4_2.14-2build2 libjpeg-dev_8c-2ubuntu11 libjpeg-turbo8_2.1.5-2ubuntu2 libjpeg-turbo8-dev_2.1.5-2ubuntu2 libjpeg8_8c-2ubuntu11 libjpeg8-dev_8c-2ubuntu11 libjson-c5_0.17-1build1 libk5crypto3_1.20.1-6ubuntu2 libkeyutils1_1.6.3-3build1 libkmod2_31+20240202-2ubuntu7 libkpathsea6_2023.20230311.66589-9build3 libkrb5-3_1.20.1-6ubuntu2 libkrb5support0_1.20.1-6ubuntu2 libldap2_2.6.7+dfsg-1~exp1ubuntu8 libllvm17t64_1:17.0.6-9ubuntu1 liblocale-gettext-perl_1.07-6ubuntu5 liblockfile-bin_1.17-1build3 liblockfile1_1.17-1build3 liblz4-1_1.9.4-1build1 liblzma5_5.6.1+really5.4.5-1 libmagic-mgc_1:5.45-3build1 libmagic1t64_1:5.45-3build1 libmd0_1.1.0-2build1 libmodplug-dev_1:0.8.9.0-3build1 libmodplug1_1:0.8.9.0-3build1 libmount-dev_2.39.3-9ubuntu6 libmount1_2.39.3-9ubuntu6 libmp3lame0_3.100-6build1 libmpc3_1.3.1-1build1 libmpfr6_4.2.1-1build1 libmpg123-0t64_1.32.5-1ubuntu1 libmpg123-dev_1.32.5-1ubuntu1 libmxml-dev_3.3.1-1build1 libmxml1_3.3.1-1build1 libncurses-dev_6.4+20240113-1ubuntu2 libncurses6_6.4+20240113-1ubuntu2 libncursesw6_6.4+20240113-1ubuntu2 libnettle8t64_3.9.1-2.2build1 libnghttp2-14_1.59.0-1build4 libnpth0t64_1.6-3.1build1 libnsl-dev_1.3.0-3build3 libnsl2_1.3.0-3build3 libnss-nis_3.1-0ubuntu7 libnss-nisplus_1.3-5build1 libogg-dev_1.3.5-3build1 libogg0_1.3.5-3build1 libopenal-data_1:1.23.1-4build1 libopenal-dev_1:1.23.1-4build1 libopenal1_1:1.23.1-4build1 libopus-dev_1.4-1build1 libopus0_1.4-1build1 libopusfile-dev_0.12-4build3 libopusfile0_0.12-4build3 libout123-0t64_1.32.5-1ubuntu1 libp11-kit0_0.25.3-4ubuntu2 libpam-modules_1.5.3-5ubuntu5 libpam-modules-bin_1.5.3-5ubuntu5 libpam-runtime_1.5.3-5ubuntu5 libpam0g_1.5.3-5ubuntu5 libpaper-utils_1.1.29build1 libpaper1_1.1.29build1 libpciaccess-dev_0.17-3build1 libpciaccess0_0.17-3build1 libpcre2-16-0_10.42-4ubuntu2 libpcre2-32-0_10.42-4ubuntu2 libpcre2-8-0_10.42-4ubuntu2 libpcre2-dev_10.42-4ubuntu2 libpcre2-posix3_10.42-4ubuntu2 libpdfbox-java_1:1.8.16-5 libperl5.36_5.36.0-9ubuntu1 libperl5.38t64_5.38.2-3.2build2 libpipeline1_1.5.7-2 libpipewire-0.3-0t64_1.0.5-1 libpipewire-0.3-dev_1.0.5-1 libpixman-1-0_0.42.2-1build1 libpkgconf3_1.8.1-2build1 libpng-dev_1.6.43-5build1 libpng16-16t64_1.6.43-5build1 libpotrace0_1.16-2build1 libproc2-0_2:4.0.4-4ubuntu3 libpsl5t64_0.21.2-1.1build1 libptexenc1_2023.20230311.66589-9build3 libpthread-stubs0-dev_0.4-1build3 libpulse-dev_1:16.1+dfsg1-2ubuntu10 libpulse-mainloop-glib0_1:16.1+dfsg1-2ubuntu10 libpulse0_1:16.1+dfsg1-2ubuntu10 libpython3-stdlib_3.12.3-0ubuntu1 libpython3.12-minimal_3.12.3-1 libpython3.12-stdlib_3.12.3-1 libreadline-dev_8.2-4build1 libreadline8t64_8.2-4build1 librtmp1_2.4+20151223.gitfa8646d.1-2build7 libsamplerate0_0.2.2-4build1 libsamplerate0-dev_0.2.2-4build1 libsasl2-2_2.1.28+dfsg1-5ubuntu3 libsasl2-modules-db_2.1.28+dfsg1-5ubuntu3 libsdl2-2.0-0_2.30.0+dfsg-1build3 libsdl2-dev_2.30.0+dfsg-1build3 libsdl2-mixer-2.0-0_2.8.0+dfsg-1build3 libsdl2-mixer-dev_2.8.0+dfsg-1build3 libsdl2-ttf-2.0-0_2.22.0+dfsg-1 libsdl2-ttf-dev_2.22.0+dfsg-1 libseccomp2_2.5.5-1ubuntu3 libselinux1_3.5-2ubuntu2 libselinux1-dev_3.5-2ubuntu2 libsemanage-common_3.5-1build5 libsemanage2_3.5-1build5 libsensors-config_1:3.6.0-9build1 libsensors5_1:3.6.0-9build1 libsepol-dev_3.5-2build1 libsepol2_3.5-2build1 libsframe1_2.42-4ubuntu2 libsm-dev_2:1.2.3-1build3 libsm6_2:1.2.3-1build3 libsmartcols1_2.39.3-9ubuntu6 libsndfile1_1.2.2-1ubuntu5 libsndfile1-dev_1.2.2-1ubuntu5 libsndio-dev_1.9.0-0.3build3 libsndio7.0_1.9.0-0.3build3 libspa-0.2-dev_1.0.5-1 libspa-0.2-modules_1.0.5-1 libsqlite3-0_3.45.1-1ubuntu2 libss2_1.47.0-2.4~exp1ubuntu4 libssh-4_0.10.6-2build2 libssl3t64_3.0.13-0ubuntu3 libstdc++-13-dev_13.2.0-23ubuntu4 libstdc++6_14-20240412-0ubuntu1 libsub-override-perl_0.10-1 libsyn123-0t64_1.32.5-1ubuntu1 libsynctex2_2023.20230311.66589-9build3 libsystemd-dev_255.4-1ubuntu8 libsystemd-shared_255.4-1ubuntu8 libsystemd0_255.4-1ubuntu8 libtasn1-6_4.19.0-3build1 libteckit0_2.5.12+ds1-1 libtexlua53-5_2023.20230311.66589-9build3 libtext-charwidth-perl_0.04-11build3 libtext-iconv-perl_1.7-8build3 libtext-wrapi18n-perl_0.06-10 libtheora-dev_1.1.1+dfsg.1-16.1build3 libtheora0_1.1.1+dfsg.1-16.1build3 libtinfo6_6.4+20240113-1ubuntu2 libtirpc-common_1.3.4+ds-1.1build1 libtirpc-dev_1.3.4+ds-1.1build1 libtirpc3t64_1.3.4+ds-1.1build1 libtool_2.4.7-7build1 libubsan1_14-20240412-0ubuntu1 libuchardet0_0.0.8-1build1 libudev-dev_255.4-1ubuntu8 libudev1_255.4-1ubuntu8 libunistring2_1.0-2 libunistring5_1.1-2build1 libuuid1_2.39.3-9ubuntu6 libvorbis-dev_1.3.7-1build3 libvorbis0a_1.3.7-1build3 libvorbisenc2_1.3.7-1build3 libvorbisfile3_1.3.7-1build3 libvulkan1_1.3.275.0-1build1 libwayland-bin_1.22.0-2.1build1 libwayland-client0_1.22.0-2.1build1 libwayland-cursor0_1.22.0-2.1build1 libwayland-dev_1.22.0-2.1build1 libwayland-egl1_1.22.0-2.1build1 libwayland-server0_1.22.0-2.1build1 libwebrtc-audio-processing1_0.3.1-0ubuntu6 libx11-6_2:1.8.7-1build1 libx11-data_2:1.8.7-1build1 libx11-dev_2:1.8.7-1build1 libx11-xcb1_2:1.8.7-1build1 libxau-dev_1:1.0.9-1build6 libxau6_1:1.0.9-1build6 libxaw7_2:1.0.14-1build2 libxcb-dri2-0_1.15-1ubuntu2 libxcb-dri3-0_1.15-1ubuntu2 libxcb-glx0_1.15-1ubuntu2 libxcb-present0_1.15-1ubuntu2 libxcb-randr0_1.15-1ubuntu2 libxcb-render0_1.15-1ubuntu2 libxcb-shm0_1.15-1ubuntu2 libxcb-sync1_1.15-1ubuntu2 libxcb-xfixes0_1.15-1ubuntu2 libxcb1_1.15-1ubuntu2 libxcb1-dev_1.15-1ubuntu2 libxcursor-dev_1:1.2.1-1build1 libxcursor1_1:1.2.1-1build1 libxdmcp-dev_1:1.1.3-0ubuntu6 libxdmcp6_1:1.1.3-0ubuntu6 libxext-dev_2:1.3.4-1build2 libxext6_2:1.3.4-1build2 libxfixes-dev_1:6.0.0-2build1 libxfixes3_1:6.0.0-2build1 libxi-dev_2:1.8.1-1build1 libxi6_2:1.8.1-1build1 libxinerama-dev_2:1.1.4-3build1 libxinerama1_2:1.1.4-3build1 libxkbcommon-dev_1.6.0-1build1 libxkbcommon0_1.6.0-1build1 libxml2_2.9.14+dfsg-1.3ubuntu3 libxml2-dev_2.9.14+dfsg-1.3ubuntu3 libxmu6_2:1.1.3-3build2 libxpm4_1:3.5.17-1build2 libxrandr-dev_2:1.5.2-2build1 libxrandr2_2:1.5.2-2build1 libxrender-dev_1:0.9.10-1.1build1 libxrender1_1:0.9.10-1.1build1 libxshmfence1_1.3-1build5 libxss-dev_1:1.2.3-1build3 libxss1_1:1.2.3-1build3 libxt-dev_1:1.2.1-1.2build1 libxt6t64_1:1.2.1-1.2build1 libxv-dev_2:1.0.11-1.1build1 libxv1_2:1.0.11-1.1build1 libxvidcore-dev_2:1.3.7-1build1 libxvidcore4_2:1.3.7-1build1 libxxf86vm-dev_1:1.1.4-1build4 libxxf86vm1_1:1.1.4-1build4 libxxhash0_0.8.2-2build1 libzstd1_1.5.5+dfsg2-2build1 libzzip-0-13t64_0.13.72+dfsg.1-1.2build1 linux-libc-dev_6.8.0-31.31 lockfile-progs_0.1.19build2 login_1:4.13+dfsg1-4ubuntu3 logsave_1.47.0-2.4~exp1ubuntu4 lto-disabled-list_47 m4_1.4.19-4build1 make_4.3-4.1build2 man-db_2.12.0-4build2 mawk_1.3.4.20240123-1build1 media-types_10.1.0 mount_2.39.3-9ubuntu6 ncurses-base_6.4+20240113-1ubuntu2 ncurses-bin_6.4+20240113-1ubuntu2 netbase_6.4 openssl_3.0.13-0ubuntu3 optipng_0.7.8+ds-1build2 passwd_1:4.13+dfsg1-4ubuntu3 patch_2.7.6-7build3 perl_5.38.2-3.2build2 perl-base_5.38.2-3.2build2 perl-modules-5.36_5.36.0-9ubuntu1 perl-modules-5.38_5.38.2-3.2build2 pinentry-curses_1.2.1-3ubuntu5 pkgbinarymangler_154 pkgconf_1.8.1-2build1 pkgconf-bin_1.8.1-2build1 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 preview-latex-style_13.2-1 procps_2:4.0.4-4ubuntu3 psmisc_23.7-1build1 python3_3.12.3-0ubuntu1 python3-minimal_3.12.3-0ubuntu1 python3-packaging_24.0-1 python3.12_3.12.3-1 python3.12-minimal_3.12.3-1 readline-common_8.2-4build1 rpcsvc-proto_1.4.2-0ubuntu7 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2build1 sensible-utils_0.0.22 sgml-base_1.31 systemd_255.4-1ubuntu8 systemd-dev_255.4-1ubuntu8 systemd-sysv_255.4-1ubuntu8 sysvinit-utils_3.08-6ubuntu3 t1utils_1.41-4build3 tar_1.35+dfsg-3build1 tex-common_6.18 texlive-base_2023.20240207-1 texlive-binaries_2023.20230311.66589-9build3 texlive-latex-base_2023.20240207-1 texlive-latex-extra_2023.20240207-1 texlive-latex-recommended_2023.20240207-1 texlive-pictures_2023.20240207-1 timgm6mb-soundfont_1.3-5 tzdata_2024a-2ubuntu1 ubuntu-keyring_2023.11.28.1 ucf_3.0043+nmu1 util-linux_2.39.3-9ubuntu6 uuid-dev_2.39.3-9ubuntu6 uuid-runtime_2.39.3-9ubuntu6 x11-common_1:7.7+23ubuntu3 x11proto-dev_2023.2-1 xdg-utils_1.1.3-4.1ubuntu3 xkb-data_2.41-2ubuntu1 xml-core_0.19 xorg-sgml-doctools_1:1.11-1.1 xtrans-dev_1.4.0-1 xz-utils_5.6.1+really5.4.5-1 zip_3.0-13build1 zlib1g_1:1.3.dfsg-3.1ubuntu2 zlib1g-dev_1:1.3.dfsg-3.1ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: ufoai Binary: ufoai, ufoai-misc, ufoai-common, ufoai-server, ufoai-tools Architecture: any all Version: 2.5-7build3 Maintainer: Ubuntu Developers Uploaders: Markus Koschany Homepage: https://ufoai.org Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/games-team/ufoai Vcs-Git: https://salsa.debian.org/games-team/ufoai.git Build-Depends: bash-completion, debhelper-compat (= 13), dpkg-dev (>= 1.17.1~), gettext, libcunit1-dev, libcurl4-gnutls-dev | libcurl4-openssl-dev | libcurl-dev, libglib2.0-dev, libjpeg-dev, libmxml-dev, libogg-dev, libopenal-dev, libpng-dev, libsdl2-mixer-dev, libsdl2-ttf-dev, libsdl2-dev, libtheora-dev, libvorbis-dev, libxml2-dev, libxvidcore-dev, pkg-config, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended, zip, zlib1g-dev Package-List: ufoai deb games optional arch=any ufoai-common deb games optional arch=all ufoai-misc deb games optional arch=all ufoai-server deb games optional arch=any ufoai-tools deb graphics optional arch=any Checksums-Sha1: 07ba007e24340c798506c8d2d76d863916660145 9640312 ufoai_2.5.orig.tar.xz f85c5dd07bc2f08dabaa238fa34a11f411d9c722 25216 ufoai_2.5-7build3.debian.tar.xz Checksums-Sha256: b390e50b8cf92ac8ab2ab7c74af9919b3164d16a56bf7f26f7427ba89e30a80c 9640312 ufoai_2.5.orig.tar.xz d8b1886bee6e83af11b4a84fc172369c9d93e32727dce77ba8fee951092c588a 25216 ufoai_2.5-7build3.debian.tar.xz Files: 98ed9448b62a824d4cfa90d1cb5c4c59 9640312 ufoai_2.5.orig.tar.xz 131533a86df77360992adeb76a4e098b 25216 ufoai_2.5-7build3.debian.tar.xz Original-Maintainer: Debian Games Team -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoIn7Nqr72tWswTJQafeQFxohCYQFAmYKcG4ACgkQafeQFxoh CYQFAw//TILQoPaPqk18aJsDRK+aeij94ravBozhblNAj1fbWP5GKWKmtvRJdcIg BaF1Ppw5Ir7rUGEbVkeLBAKZ0cFYfd5zSDGelD0e+xULVB/3oNXSWNX896hH7+yj vtGK1+xIx0S9dsqS0yJ4i/0J38zRpLHonBfB256eRIK3QP+wVY/dAYCMuxokCwNX IpA6rmAv5uX8rk0KHKdGwsDovsskQLrjr0u/NuyH8665J8idQUsYD2hDGXAXwunE dgFPHfQtclcwRc7x3oj/buZ7iYJ1RxVskUz5z9Pb3idTmsVLw3yuDZAXGBP8j3YV Xq1u78xw+mv2JKje1BCoDveDEZnT1h3PkI4BiUrXbk+osmER2xa0MCgAW6aOjbP2 u62Ayd4h4AoZ4+91DK4Mo3q5MlZUaXkGy5P+KBD1Jj+BPJTVXtK1W8YHKM4nH/76 sCgusi9zmkAVy4cSCz+DBGdZC/d3WavfQRYG6YTL6E7g43uV3H/igXDwu6Zf4bNY uyBO0wLIwfYchAYX4CVCHeN85ltS7ANFDxCFAAkNuRmhcOD4DH9Km9BJKwXOZZdg 8IWi5gWDnglbGhVzmWVCVTIdz1TKuln1KOyW1TsBrxwZzsE8ZPbEXl8UYh6bdZ7a arJuvLcb8vIQWR+5+gc0hs+VCOCskktG5yYzXQMHpAR/y3FchRQ= =wGnG -----END PGP SIGNATURE----- gpgv: Signature made Mon Apr 1 08:29:34 2024 UTC gpgv: using RSA key A089FB36AAFBDAD5ACC1325069F790171A210984 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ufoai_2.5-7build3.dsc: no acceptable signature found dpkg-source: info: extracting ufoai in /<> dpkg-source: info: unpacking ufoai_2.5.orig.tar.xz dpkg-source: info: unpacking ufoai_2.5-7build3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying initialize-entityString.patch dpkg-source: info: applying segfault-reactionfire-mode-bug-861979.patch dpkg-source: info: applying bug-949301-mxml.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-28273436 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-28273436 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-28273436 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package ufoai dpkg-buildpackage: info: source version 2.5-7build3 dpkg-buildpackage: info: source distribution noble dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 fakeroot debian/rules clean dh clean --with bash-completion dh_auto_clean make -j4 distclean make[1]: Entering directory '/<>' /bin/sh: 1: cd: can't cd to /<>/contrib/installer/mojosetup/scripts ls: cannot access '*.lua': No such file or directory find: ‘base/maps’: No such file or directory /bin/sh: 0: Illegal option - build/maps.mk:45: target '.' doesn't match the target pattern build/maps.mk:45: target 'src' doesn't match the target pattern build/maps.mk:45: target 'src/po' doesn't match the target pattern build/maps.mk:45: target 'radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs' doesn't match the target pattern build/maps.mk:45: target 'src/tools' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/client' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'base' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'base/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/docs' doesn't match the target pattern build/maps.mk:45: target 'src/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/vegetation' doesn't match the target pattern build/maps.mk:45: target 'unittest' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household' doesn't match the target pattern build/maps.mk:45: target 'src/common' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex' doesn't match the target pattern build/maps.mk:45: target 'src/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/images' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui' doesn't match the target pattern build/maps.mk:45: target 'build' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/ui' doesn't match the target pattern build/maps.mk:45: target 'radiant/bitmaps' doesn't match the target pattern build/maps.mk:45: target 'src/game/lua' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/dropships' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/city' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/msgid' doesn't match the target pattern build/maps.mk:45: target 'unittest/maps' doesn't match the target pattern build/maps.mk:45: target 'build/projects' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/cars' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/office' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/trucks' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection' doesn't match the target pattern build/maps.mk:45: target 'src/tools/blender' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar' doesn't match the target pattern build/maps.mk:45: target 'unittest/save' doesn't match the target pattern build/maps.mk:45: target 'src/tests' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/include' doesn't match the target pattern build/maps.mk:45: target 'src/shared' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/machines' doesn't match the target pattern build/maps.mk:45: target 'unittest/save/campaign' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/alien' doesn't match the target pattern build/maps.mk:45: target 'debian' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/living_room' doesn't match the target pattern build/maps.mk:45: target 'src/server' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc/shop' doesn't match the target pattern build/maps.mk:45: target 'src/libs' doesn't match the target pattern build/maps.mk:45: target 'src/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/math' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/ports' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bath' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos/crashed_scout' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entityinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/houses' doesn't match the target pattern build/maps.mk:45: target '.pc' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/common' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/interceptors' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/kitchen' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/eventmanager' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bedroom' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/save' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/check' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/camera' doesn't match the target pattern build/maps.mk:45: target 'src/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'radiant/sourceviewer' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uitest' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/chapters' doesn't match the target pattern build/maps.mk:45: target 'src/client/input' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/algorithm' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uisample' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/generic' doesn't match the target pattern build/maps.mk:45: target 'src/client/sound' doesn't match the target pattern build/maps.mk:45: target 'build/modules' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/pathfinding' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/backend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/container' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/settings' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/construct' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/filterdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filters' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/pk3' doesn't match the target pattern build/maps.mk:45: target 'src/ports/windows' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ump' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/surfaceinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/scenegraph' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/material' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/light' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xmlregistry' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/undo' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/colourscheme' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textures' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sound' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mainframe' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/referencecache' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/particle' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/stream' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base' doesn't match the target pattern build/maps.mk:45: target 'src/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/doors' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/uimanager' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entitylist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/script' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/xmlutil' doesn't match the target pattern build/maps.mk:45: target 'src/client/web' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'build/platforms' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/commandlist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool/item' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/selectionset' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/sound' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/model' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/generic' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/entitydef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/eclassmodel' doesn't match the target pattern build/maps.mk:45: target 'src/ports/android' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/ortho' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mru' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/modelselector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/namespace' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/keys' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/group' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/csg' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/string' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/signal' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/window' doesn't match the target pattern build/maps.mk:45: target 'debian/man' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/frontend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/clipper' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/os' doesn't match the target pattern build/maps.mk:45: target 'contrib' doesn't match the target pattern build/maps.mk:45: target 'base/media' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src' doesn't match the target pattern build/maps.mk:45: target 'unittest/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal/filetypes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/transform' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/maptools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/shaderclipboard' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map/algorithm' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brushexport' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/q3radiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'debian/patches' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview/grid' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/textureoverview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/overlay' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/lightdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findshader' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findbrush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/about' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/log' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/directory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/modulesystem' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.4' doesn't match the target pattern build/maps.mk:45: target 'src/resources' doesn't match the target pattern build/maps.mk:45: target 'src/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts/bashcompletion' doesn't match the target pattern build/maps.mk:45: target 'base/ai' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/umpeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/splash' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/scripteditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/materialeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/terrain' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/mapdef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/memory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/ifc' doesn't match the target pattern build/maps.mk:45: target 'src/tools/masterserver' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/ufoai.game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures' doesn't match the target pattern build/maps.mk:45: target 'src/ports/macosx' doesn't match the target pattern build/maps.mk:45: target 'debian/icons' doesn't match the target pattern build/maps.mk:45: target 'debian/bin' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper/generated' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codelite' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codeblocks' doesn't match the target pattern build/maps.mk:45: target 'build/modes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/prefdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/debugging' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/games' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures/radiant' doesn't match the target pattern build/maps.mk:45: target 'src/ports/solaris' doesn't match the target pattern build/maps.mk:45: target 'debian/source' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper/generated/_source' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper/generated/_source/home' doesn't match the target pattern find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory Cleaning up cgame-campaign Cleaning up cgame-multiplayer Cleaning up cgame-skirmish Cleaning up game Cleaning up memory Cleaning up ufo Cleaning up ufo2map Cleaning up ufoded Cleaning up ufomodel Cleaning up uforadiant Cleaning up ufoslicer make[2]: Entering directory '/<>' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. rm -f chapters/*.aux rm -f *.aux *.log *.out *.toc *.pdf *.pdfsync make[2]: Leaving directory '/<>/src/docs/tex' make[1]: Leaving directory '/<>' dh_clean debian/rules build-arch dh build-arch --with bash-completion dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' ./configure \ --prefix=/usr \ --datadir=/usr/share/games/ufoai \ --enable-hardlinkedgame \ --enable-testall \ --enable-release use c compiler: cc use c++ compiler: c++ Compile for linux Compile for riscv64 Compile in release mode Disable ccache Found cc cc Found cxx c++ Using bindir /usr/bin/ Using datadir /usr/share/games/ufoai Using libdir /usr/lib/ Using prefix /usr Enable hard linked game Enable hard linked cgame Use signal handler Setting custom data directory Setting custom library directory Found zip from zip Could not find python from python Could not find doxygen from doxygen Found xvid.h Found theora/theora.h Found execinfo.h Could not find bfd.h Found sys/utsname.h Found link.h Found jpeglib.h Found zlib.h Found png.h Found CUnit/Basic.h Found mxml.h Could not find SDL.h Could not find SDL_mixer.h Could not find SDL_ttf.h Found SDL.h Found SDL_mixer.h Found SDL_ttf.h Could not find picomodel.h Could not find gtk/gtk.h Could not find gtksourceview/gtksourceview.h Found libxml/parser.h Found AL/al.h Could not find gtk/gtkglwidget.h Build modules: Build cgame-campaign Build cgame-multiplayer Build cgame-skirmish Build game Build memory Build testall Build ufo Build ufo2map Build ufoded Build ufomodel Disable uforadiant Build ufoslicer make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' /usr/bin/make Q= make[2]: Entering directory '/<>' /bin/sh: 1: cd: can't cd to /<>/contrib/installer/mojosetup/scripts ls: cannot access '*.lua': No such file or directory find: ‘base/maps’: No such file or directory /bin/sh: 0: Illegal option - build/maps.mk:45: target '.' doesn't match the target pattern build/maps.mk:45: target 'src' doesn't match the target pattern build/maps.mk:45: target 'src/po' doesn't match the target pattern build/maps.mk:45: target 'radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs' doesn't match the target pattern build/maps.mk:45: target 'src/tools' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/client' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'base' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'base/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/docs' doesn't match the target pattern build/maps.mk:45: target 'src/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/vegetation' doesn't match the target pattern build/maps.mk:45: target 'unittest' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household' doesn't match the target pattern build/maps.mk:45: target 'src/common' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex' doesn't match the target pattern build/maps.mk:45: target 'src/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/images' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui' doesn't match the target pattern build/maps.mk:45: target 'build' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/ui' doesn't match the target pattern build/maps.mk:45: target 'radiant/bitmaps' doesn't match the target pattern build/maps.mk:45: target 'src/game/lua' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/dropships' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/city' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/msgid' doesn't match the target pattern build/maps.mk:45: target 'unittest/maps' doesn't match the target pattern build/maps.mk:45: target 'build/projects' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/cars' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/office' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/trucks' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection' doesn't match the target pattern build/maps.mk:45: target 'src/tools/blender' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar' doesn't match the target pattern build/maps.mk:45: target 'unittest/save' doesn't match the target pattern build/maps.mk:45: target 'src/tests' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/include' doesn't match the target pattern build/maps.mk:45: target 'src/shared' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/machines' doesn't match the target pattern build/maps.mk:45: target 'unittest/save/campaign' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/alien' doesn't match the target pattern build/maps.mk:45: target 'debian' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/living_room' doesn't match the target pattern build/maps.mk:45: target 'src/server' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc/shop' doesn't match the target pattern build/maps.mk:45: target 'src/libs' doesn't match the target pattern build/maps.mk:45: target 'src/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/math' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/ports' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bath' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos/crashed_scout' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entityinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/houses' doesn't match the target pattern build/maps.mk:45: target '.pc' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/common' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/interceptors' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/kitchen' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/eventmanager' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bedroom' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/save' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/check' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/camera' doesn't match the target pattern build/maps.mk:45: target 'src/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'radiant/sourceviewer' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uitest' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/chapters' doesn't match the target pattern build/maps.mk:45: target 'src/client/input' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/algorithm' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uisample' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/generic' doesn't match the target pattern build/maps.mk:45: target 'src/client/sound' doesn't match the target pattern build/maps.mk:45: target 'build/modules' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/pathfinding' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/backend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/container' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/settings' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/construct' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/filterdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filters' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/pk3' doesn't match the target pattern build/maps.mk:45: target 'src/ports/windows' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ump' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/surfaceinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/scenegraph' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/material' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/light' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xmlregistry' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/undo' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/colourscheme' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textures' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sound' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mainframe' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/referencecache' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/particle' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/stream' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base' doesn't match the target pattern build/maps.mk:45: target 'src/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/doors' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/uimanager' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entitylist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/script' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/xmlutil' doesn't match the target pattern build/maps.mk:45: target 'src/client/web' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'build/platforms' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/commandlist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool/item' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/selectionset' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/sound' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/model' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/generic' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/entitydef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/eclassmodel' doesn't match the target pattern build/maps.mk:45: target 'src/ports/android' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/ortho' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mru' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/modelselector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/namespace' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/keys' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/group' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/csg' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/string' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/signal' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/window' doesn't match the target pattern build/maps.mk:45: target 'debian/man' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/frontend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/clipper' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/os' doesn't match the target pattern build/maps.mk:45: target 'contrib' doesn't match the target pattern build/maps.mk:45: target 'base/media' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src' doesn't match the target pattern build/maps.mk:45: target 'unittest/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal/filetypes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/transform' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/maptools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/shaderclipboard' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map/algorithm' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brushexport' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/q3radiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'debian/patches' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview/grid' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/textureoverview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/overlay' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/lightdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findshader' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findbrush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/about' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/log' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/directory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/modulesystem' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.4' doesn't match the target pattern build/maps.mk:45: target 'src/resources' doesn't match the target pattern build/maps.mk:45: target 'src/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts/bashcompletion' doesn't match the target pattern build/maps.mk:45: target 'base/ai' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/umpeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/splash' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/scripteditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/materialeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/terrain' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/mapdef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/memory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/ifc' doesn't match the target pattern build/maps.mk:45: target 'src/tools/masterserver' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/ufoai.game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures' doesn't match the target pattern build/maps.mk:45: target 'src/ports/macosx' doesn't match the target pattern build/maps.mk:45: target 'debian/icons' doesn't match the target pattern build/maps.mk:45: target 'debian/bin' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codelite' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codeblocks' doesn't match the target pattern build/maps.mk:45: target 'build/modes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/prefdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/debugging' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/games' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures/radiant' doesn't match the target pattern build/maps.mk:45: target 'src/ports/solaris' doesn't match the target pattern build/maps.mk:45: target 'debian/source' doesn't match the target pattern find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory mkdir -p release-linux-riscv64/memory/tools/ touch release-linux-riscv64/memory/.dirs ===> CXX [memory] src/tools/memory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/memory/tools/memory.cpp.o src/tools/memory.cpp -MP -MD -MT release-linux-riscv64/memory/tools/memory.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from /usr/include/SDL2/SDL_opengl_glext.h:190, from /usr/include/SDL2/SDL_opengl.h:2105, from src/tools/memory.cpp:6: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/../common/../shared/shared.h:54, from src/tools/../common/common.h:30, from src/tools/memory.cpp:9: src/tools/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tools/../client/cl_renderer.h:29, from src/tools/../client/client.h:32, from src/tools/memory.cpp:12: src/tools/../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tools/../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tools/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tools/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tools/../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tools/../client/renderer/r_model.h:30, from src/tools/../client/cl_renderer.h:28: src/tools/../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> LD [memory] mkdir -p ./ "c++" release-linux-riscv64/memory/tools/memory.cpp.o -lm -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o memory mkdir -p release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/ release-linux-riscv64/testall/client/battlescape/events/ release-linux-riscv64/testall/client/battlescape/events/ release-linux-riscv64/testall/client/battlescape/events/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/actor/ release-linux-riscv64/testall/client/battlescape/events/event/inventory/ release-linux-riscv64/testall/client/battlescape/events/event/inventory/ release-linux-riscv64/testall/client/battlescape/events/event/inventory/ release-linux-riscv64/testall/client/battlescape/events/event/inventory/ release-linux-riscv64/testall/client/battlescape/events/event/player/ release-linux-riscv64/testall/client/battlescape/events/event/player/ release-linux-riscv64/testall/client/battlescape/events/event/player/ release-linux-riscv64/testall/client/battlescape/events/event/player/ release-linux-riscv64/testall/client/battlescape/events/event/player/ release-linux-riscv64/testall/client/battlescape/events/event/player/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/battlescape/events/event/world/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/campaign/missions/ release-linux-riscv64/testall/client/cgame/ release-linux-riscv64/testall/client/cgame/ release-linux-riscv64/testall/client/cgame/multiplayer/ release-linux-riscv64/testall/client/cgame/multiplayer/ release-linux-riscv64/testall/client/cgame/multiplayer/ release-linux-riscv64/testall/client/cgame/skirmish/ release-linux-riscv64/testall/client/cinematic/ release-linux-riscv64/testall/client/cinematic/ release-linux-riscv64/testall/client/cinematic/ release-linux-riscv64/testall/client/cinematic/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/ release-linux-riscv64/testall/client/input/ release-linux-riscv64/testall/client/input/ release-linux-riscv64/testall/client/input/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/renderer/ release-linux-riscv64/testall/client/sound/ release-linux-riscv64/testall/client/sound/ release-linux-riscv64/testall/client/sound/ release-linux-riscv64/testall/client/sound/ release-linux-riscv64/testall/client/sound/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/node/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/ui/ release-linux-riscv64/testall/client/web/ release-linux-riscv64/testall/client/web/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/common/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/lua/ release-linux-riscv64/testall/game/ release-linux-riscv64/testall/libs/mumble/ release-linux-riscv64/testall/ports/unix/ release-linux-riscv64/testall/ports/unix/ release-linux-riscv64/testall/ports/unix/ release-linux-riscv64/testall/ports/unix/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/server/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/shared/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ release-linux-riscv64/testall/tests/ touch release-linux-riscv64/testall/.dirs ===> CXX [testall] src/client/battlescape/cl_actor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_actor.cpp.o src/client/battlescape/cl_actor.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_actor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_actor.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_battlescape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_battlescape.cpp.o src/client/battlescape/cl_battlescape.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_battlescape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_battlescape.cpp:25: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_camera.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_camera.cpp.o src/client/battlescape/cl_camera.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_camera.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_camera.cpp:28: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_hud.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_hud.cpp.o src/client/battlescape/cl_hud.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_hud.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_hud_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_hud_callbacks.cpp.o src/client/battlescape/cl_hud_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_hud_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud_callbacks.cpp:25: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_localentity.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_localentity.cpp.o src/client/battlescape/cl_localentity.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_localentity.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_localentity.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/cl_localentity.cpp: In function ‘le_t* LE_Add(int)’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘le_t’ {aka ‘struct le_s’} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_localentity.cpp:1217:9: note: in expansion of macro ‘OBJZERO’ 1217 | OBJZERO(*le); | ^~~~~~~ In file included from src/client/battlescape/../client.h:39: src/client/battlescape/../battlescape/cl_localentity.h:65:16: note: ‘le_t’ {aka ‘struct le_s’} declared here 65 | typedef struct le_s { | ^~~~ ===> CXX [testall] src/client/battlescape/cl_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_parse.cpp.o src/client/battlescape/cl_parse.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_parse.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_particle.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_particle.cpp.o src/client/battlescape/cl_particle.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_particle.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_particle.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/cl_particle.cpp: In function ‘void CL_ParseParticle(const char*, const char**)’: src/client/battlescape/cl_particle.cpp:1431:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ptlCmd_t**’ {aka ‘ptlCmd_s**’} increases required alignment of target type [-Wcast-align] 1431 | pc = (ptlCmd_t**) ((byte*) pd + pf_values[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_radar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_radar.cpp.o src/client/battlescape/cl_radar.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_radar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_radar.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_spawn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_spawn.cpp.o src/client/battlescape/cl_spawn.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_spawn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_spawn.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_ugv.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_ugv.cpp.o src/client/battlescape/cl_ugv.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_ugv.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_ugv.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/cl_ugv.cpp: In function ‘bool CL_AddUGV(le_t*, entity_t*)’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘entity_t’ {aka ‘struct entity_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_ugv.cpp:42:25: note: in expansion of macro ‘OBJZERO’ 42 | OBJZERO(add); | ^~~~~~~ src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘entity_t’ {aka ‘struct entity_s’} declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘entity_t’ {aka ‘struct entity_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_ugv.cpp:54:25: note: in expansion of macro ‘OBJZERO’ 54 | OBJZERO(add); | ^~~~~~~ src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘entity_t’ {aka ‘struct entity_s’} declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘entity_t’ {aka ‘struct entity_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_ugv.cpp:67:9: note: in expansion of macro ‘OBJZERO’ 67 | OBJZERO(add); | ^~~~~~~ src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘entity_t’ {aka ‘struct entity_s’} declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/cl_view.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/cl_view.cpp.o src/client/battlescape/cl_view.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/cl_view.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_view.cpp:29: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/e_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/e_main.cpp.o src/client/battlescape/events/e_main.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/e_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30, from src/client/battlescape/events/../../cl_shared.h:28, from src/client/battlescape/events/../../client.h:31, from src/client/battlescape/events/e_main.cpp:25: src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/../../cl_renderer.h:29, from src/client/battlescape/events/../../client.h:32: src/client/battlescape/events/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/../../renderer/r_gl.h:32, from src/client/battlescape/events/../../renderer/r_image.h:28, from src/client/battlescape/events/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/../../renderer/r_model.h:30, from src/client/battlescape/events/../../cl_renderer.h:28: src/client/battlescape/events/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/events/e_main.cpp: In function ‘const char* CL_ConvertSoundFromEvent(char*, size_t)’: src/client/battlescape/events/e_main.cpp:224:62: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 224 | if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) | ^~ src/client/battlescape/events/e_main.cpp:224:21: note: add parentheses around left hand side expression to silence this warning 224 | if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) src/client/battlescape/events/e_main.cpp:224:62: warning: comparison of constant ‘-1’ with boolean expression is always false [-Wbool-compare] 224 | if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ===> CXX [testall] src/client/battlescape/events/e_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/e_parse.cpp.o src/client/battlescape/events/e_parse.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/e_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30, from src/client/battlescape/events/../../cl_shared.h:28, from src/client/battlescape/events/../../client.h:31, from src/client/battlescape/events/e_parse.cpp:40: src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/../../cl_renderer.h:29, from src/client/battlescape/events/../../client.h:32: src/client/battlescape/events/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/../../renderer/r_gl.h:32, from src/client/battlescape/events/../../renderer/r_image.h:28, from src/client/battlescape/events/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/../../renderer/r_model.h:30, from src/client/battlescape/events/../../cl_renderer.h:28: src/client/battlescape/events/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/events/e_parse.cpp: In function ‘bool CL_DelayBattlescapeEvent(int, void*)’: src/client/battlescape/events/e_parse.cpp:161:73: warning: cast from type ‘const evTimes_t*’ {aka ‘const evTimes_s*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 161 | Com_DPrintf(DEBUG_EVENTSYS, "delay event %p type %s from %i\n", (void*)event, eventData->name, now); | ^~~~~~~~~~~~ ===> CXX [testall] src/client/battlescape/events/e_server.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/e_server.cpp.o src/client/battlescape/events/e_server.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/e_server.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30, from src/client/battlescape/events/../../cl_shared.h:28, from src/client/battlescape/events/../../client.h:31, from src/client/battlescape/events/e_server.cpp:27: src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/../../cl_renderer.h:29, from src/client/battlescape/events/../../client.h:32: src/client/battlescape/events/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/../../renderer/r_gl.h:32, from src/client/battlescape/events/../../renderer/r_image.h:28, from src/client/battlescape/events/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/../../renderer/r_model.h:30, from src/client/battlescape/events/../../cl_renderer.h:28: src/client/battlescape/events/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actoradd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actoradd.cpp.o src/client/battlescape/events/event/actor/e_event_actoradd.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actoradd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actoradd.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorappear.cpp.o src/client/battlescape/events/event/actor/e_event_actorappear.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorappear.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorclientaction.cpp.o src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorclientaction.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actordie.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actordie.cpp.o src/client/battlescape/events/event/actor/e_event_actordie.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actordie.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actordie.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorendshot.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorendshot.cpp.o src/client/battlescape/events/event/actor/e_event_actorendshot.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorendshot.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorendshot.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actormove.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actormove.cpp.o src/client/battlescape/events/event/actor/e_event_actormove.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actormove.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actormove.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp.o src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp.o src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp.o src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorshoot.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorshoot.cpp.o src/client/battlescape/events/event/actor/e_event_actorshoot.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorshoot.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorshoot.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp.o src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp.o src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstatechange.cpp.o src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstatechange.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorstats.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstats.cpp.o src/client/battlescape/events/event/actor/e_event_actorstats.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstats.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorstats.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorthrow.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorthrow.cpp.o src/client/battlescape/events/event/actor/e_event_actorthrow.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorthrow.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorthrow.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorturn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorturn.cpp.o src/client/battlescape/events/event/actor/e_event_actorturn.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorturn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorturn.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/actor/e_event_actorwound.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorwound.cpp.o src/client/battlescape/events/event/actor/e_event_actorwound.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorwound.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorwound.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/inventory/e_event_invadd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invadd.cpp.o src/client/battlescape/events/event/inventory/e_event_invadd.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invadd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invadd.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/inventory/e_event_invammo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invammo.cpp.o src/client/battlescape/events/event/inventory/e_event_invammo.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invammo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invammo.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/inventory/e_event_invdel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invdel.cpp.o src/client/battlescape/events/event/inventory/e_event_invdel.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invdel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invdel.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/inventory/e_event_invreload.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invreload.cpp.o src/client/battlescape/events/event/inventory/e_event_invreload.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invreload.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invreload.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/player/e_event_centerview.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_centerview.cpp.o src/client/battlescape/events/event/player/e_event_centerview.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_centerview.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_centerview.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/player/e_event_doendround.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_doendround.cpp.o src/client/battlescape/events/event/player/e_event_doendround.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_doendround.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_doendround.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/player/e_event_endroundannounce.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_endroundannounce.cpp.o src/client/battlescape/events/event/player/e_event_endroundannounce.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_endroundannounce.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_endroundannounce.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/player/e_event_reset.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_reset.cpp.o src/client/battlescape/events/event/player/e_event_reset.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_reset.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_reset.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/player/e_event_results.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_results.cpp.o src/client/battlescape/events/event/player/e_event_results.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_results.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_results.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/player/e_event_startgame.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_startgame.cpp.o src/client/battlescape/events/event/player/e_event_startgame.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_startgame.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_startgame.cpp:26: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_addbrushmodel.cpp.o src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_addbrushmodel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_addedict.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_addedict.cpp.o src/client/battlescape/events/event/world/e_event_addedict.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_addedict.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_addedict.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_cameraappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_cameraappear.cpp.o src/client/battlescape/events/event/world/e_event_cameraappear.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_cameraappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_cameraappear.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_doorclose.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_doorclose.cpp.o src/client/battlescape/events/event/world/e_event_doorclose.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_doorclose.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_doorclose.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_dooropen.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_dooropen.cpp.o src/client/battlescape/events/event/world/e_event_dooropen.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_dooropen.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_dooropen.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_entappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entappear.cpp.o src/client/battlescape/events/event/world/e_event_entappear.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_entappear.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_entdestroy.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entdestroy.cpp.o src/client/battlescape/events/event/world/e_event_entdestroy.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entdestroy.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_entdestroy.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_entperish.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entperish.cpp.o src/client/battlescape/events/event/world/e_event_entperish.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entperish.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_entperish.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_explode.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_explode.cpp.o src/client/battlescape/events/event/world/e_event_explode.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_explode.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_explode.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_particleappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_particleappear.cpp.o src/client/battlescape/events/event/world/e_event_particleappear.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_particleappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_particleappear.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_particlespawn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_particlespawn.cpp.o src/client/battlescape/events/event/world/e_event_particlespawn.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_particlespawn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_particlespawn.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/battlescape/events/event/world/e_event_sound.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_sound.cpp.o src/client/battlescape/events/event/world/e_event_sound.cpp -MP -MD -MT release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_sound.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_sound.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cgame/campaign/aliencargo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/aliencargo.cpp.o src/client/cgame/campaign/aliencargo.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/aliencargo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/../cl_game.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.h:26, from src/client/cgame/campaign/aliencargo.h:27, from src/client/cgame/campaign/aliencargo.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/aliencontainment.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/aliencontainment.cpp.o src/client/cgame/campaign/aliencontainment.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/aliencontainment.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/../cl_game.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.h:26, from src/client/cgame/campaign/aliencargo.h:27, from src/client/cgame/campaign/aliencontainment.h:27, from src/client/cgame/campaign/aliencontainment.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cl_game_campaign.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cl_game_campaign.cpp.o src/client/cgame/campaign/cl_game_campaign.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cl_game_campaign.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cl_game_campaign.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_aircraft.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_aircraft.cpp.o src/client/cgame/campaign/cp_aircraft.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_aircraft.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft.cpp:29: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_aircraft_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_aircraft_callbacks.cpp.o src/client/cgame/campaign/cp_aircraft_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_aircraft_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_airfight.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_airfight.cpp.o src/client/cgame/campaign/cp_airfight.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_airfight.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_airfight.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_alien_interest.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_alien_interest.cpp.o src/client/cgame/campaign/cp_alien_interest.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_alien_interest.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alien_interest.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_alienbase.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_alienbase.cpp.o src/client/cgame/campaign/cp_alienbase.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_alienbase.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alienbase.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_aliencont.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_aliencont.cpp.o src/client/cgame/campaign/cp_aliencont.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_aliencont.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_aliencont_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_aliencont_callbacks.cpp.o src/client/cgame/campaign/cp_aliencont_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_aliencont_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont_callbacks.cpp:32: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_auto_mission.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_auto_mission.cpp.o src/client/cgame/campaign/cp_auto_mission.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_auto_mission.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_auto_mission.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_base.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_base.cpp.o src/client/cgame/campaign/cp_base.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_base.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_base_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_base_callbacks.cpp.o src/client/cgame/campaign/cp_base_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_base_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_basedefence_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_basedefence_callbacks.cpp.o src/client/cgame/campaign/cp_basedefence_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_basedefence_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_basedefence_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_building.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_building.cpp.o src/client/cgame/campaign/cp_building.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_building.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../shared/shared.h:54, from src/client/cgame/campaign/cp_building.h:27, from src/client/cgame/campaign/cp_building.cpp:25: src/client/cgame/campaign/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_campaign.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_campaign.cpp.o src/client/cgame/campaign/cp_campaign.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_campaign.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_campaign.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_campaign.cpp: In function ‘void CP_ParseCharacterData(dbuffer*, linkedList_t**)’: src/client/cgame/campaign/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct updateCharacter_t’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/campaign/cp_campaign.cpp:192:17: note: in expansion of macro ‘OBJZERO’ 192 | OBJZERO(c); | ^~~~~~~ src/client/cgame/campaign/cp_campaign.cpp:64:16: note: ‘struct updateCharacter_t’ declared here 64 | typedef struct { | ^ src/client/cgame/campaign/cp_campaign.cpp: In function ‘void CP_ResetCampaignData()’: src/client/cgame/campaign/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘ccs_t’ {aka ‘struct ccs_s’} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/campaign/cp_campaign.cpp:1305:9: note: in expansion of macro ‘OBJZERO’ 1305 | OBJZERO(ccs); | ^~~~~~~ In file included from src/client/cgame/campaign/cp_campaign.cpp:28: src/client/cgame/campaign/cp_campaign.h:400:16: note: ‘ccs_t’ {aka ‘struct ccs_s’} declared here 400 | typedef struct ccs_s { | ^~~~~ ===> CXX [testall] src/client/cgame/campaign/cp_capacity.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_capacity.cpp.o src/client/cgame/campaign/cp_capacity.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_capacity.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_capacity.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_cgame_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_cgame_callbacks.cpp.o src/client/cgame/campaign/cp_cgame_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_cgame_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_employee.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_employee.cpp.o src/client/cgame/campaign/cp_employee.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_employee.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_employee_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_employee_callbacks.cpp.o src/client/cgame/campaign/cp_employee_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_employee_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_event.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_event.cpp.o src/client/cgame/campaign/cp_event.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_event.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/campaign/../../../common/common.h:34: src/client/cgame/campaign/cp_event.cpp: In function ‘void CL_ParseCampaignEvents(const char*, const char**)’: src/client/cgame/campaign/cp_event.cpp:498:41: warning: cast from ‘char*’ to ‘char**’ increases required alignment of target type [-Wcast-align] 498 | Mem_PoolStrDupTo(token, (char**) ((char*)event + (int)offsetof(campaignEvent_t, tech)), cp_campaignPool, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../../common/mem.h:48:89: note: in definition of macro ‘Mem_PoolStrDupTo’ 48 | #define Mem_PoolStrDupTo(in,out,pool,tagNum) _Mem_PoolStrDupTo((in),(out),(pool),(tagNum),__FILE__,__LINE__) | ^~~ ===> CXX [testall] src/client/cgame/campaign/cp_event_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_event_callbacks.cpp.o src/client/cgame/campaign/cp_event_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_event_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_fightequip_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_fightequip_callbacks.cpp.o src/client/cgame/campaign/cp_fightequip_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_fightequip_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_fightequip_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_geoscape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_geoscape.cpp.o src/client/cgame/campaign/cp_geoscape.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_geoscape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_geoscape.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_Click(const uiNode_t*, int, int, const vec_t*)’: src/client/cgame/campaign/cp_geoscape.cpp:303:34: warning: the address of ‘mission_s::pos’ will never be NULL [-Waddress] 303 | if (tempMission->pos && GEO_IsPositionSelected(node, tempMission->pos, x, y)) | ~~~~~~~~~~~~~^~~ In file included from src/client/cgame/campaign/cp_geoscape.cpp:29: src/client/cgame/campaign/cp_campaign.h:266:16: note: ‘mission_s::pos’ declared here 266 | vec2_t pos; /**< Position of the mission */ | ^~~ In file included from src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:27, from src/client/cgame/campaign/cp_geoscape.cpp:27: src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_3DMapToScreen(const uiNode_t*, const vec_t*, int*, int*, int*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:69:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 69 | #define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:385:30: note: in expansion of macro ‘GLOBE_RADIUS’ 385 | const float radius = GLOBE_RADIUS; | ^~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:392:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 392 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_MapToScreen(const uiNode_t*, const vec_t*, int*, int*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:433:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 433 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_AllMapToScreen(const uiNode_t*, const vec_t*, int*, int*, int*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:464:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 464 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_Draw3DMarkerIfVisible(const uiNode_t*, const vec_t*, float, const char*, int)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:503:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 503 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:69:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 69 | #define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:513:93: note: in expansion of macro ‘GLOBE_RADIUS’ 513 | cgi->R_Draw3DMapMarkers(data.mapPos, data.mapSize, data.angles, pos, theta, GLOBE_RADIUS, model, skin); | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_MapDrawLine(const uiNode_t*, const mapline_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:620:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 620 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_MapDrawEquidistantPoints(const uiNode_t*, const vec_t*, float, const vec_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:711:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 711 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘float GEO_AngleOfPath(const vec_t*, const vec_t*, vec_t*, vec_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:875:38: note: in expansion of macro ‘UI_MAPEXTRADATA’ 875 | const mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_StartCenter(uiNode_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:931:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 931 | mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_CenterPosition(const vec_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:968:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 968 | mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_SelectObject_f()’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:996:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 996 | mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOneMission(const uiNode_t*, const mission_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1200:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1200 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1211:82: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1211 | GEO_MapDrawEquidistantPoints(node, mission->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOneInstallation(const uiNode_t*, const installation_t*, bool, const char*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1308:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1308 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOneBase(const uiNode_t*, const base_t*, bool, const char*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1355:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1355 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawAircraftHealthBar(const uiNode_t*, const aircraft_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1381:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1381 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOnePhalanxAircraft(const uiNode_t*, aircraft_t*, bool)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1432:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1432 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1460:75: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1460 | GEO_MapDrawEquidistantPoints(node, aircraft->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1469:99: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1469 | GEO_MapDrawEquidistantPoints(node, aircraft->aircraftTarget->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMarkers(const uiNode_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1644:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1644 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1647:78: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1647 | GEO_MapDrawEquidistantPoints(node, ufo->pos, SELECT_CIRCLE_RADIUS, white); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1651:86: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1651 | GEO_MapDrawEquidistantPoints(node, ufo->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/mathlib.h:113, from src/client/cgame/campaign/../../../common/common.h:31: In function ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’, inlined from ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:887:13, inlined from ‘void GEO_CenterPosition(const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:976:45, inlined from ‘void GEO_CenterOnPoint_f()’ at src/client/cgame/campaign/cp_geoscape.cpp:1137:20: src/client/cgame/campaign/../../../common/../shared/vector.h:59:40: warning: ‘pos[0]’ may be used uninitialized [-Wmaybe-uninitialized] 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ~~~~~~^~~~ src/client/cgame/campaign/cp_geoscape.cpp:892:17: note: in expansion of macro ‘VectorSet’ 892 | VectorSet(vector, objectPos[0], -objectPos[1], 0); | ^~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_CenterOnPoint_f()’: src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[0]’ was declared here 1135 | vec2_t pos; | ^~~ In function ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’, inlined from ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:887:13, inlined from ‘void GEO_CenterPosition(const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:976:45, inlined from ‘void GEO_CenterOnPoint_f()’ at src/client/cgame/campaign/cp_geoscape.cpp:1137:20: src/client/cgame/campaign/cp_geoscape.cpp:892:49: warning: ‘pos[1]’ may be used uninitialized [-Wmaybe-uninitialized] 892 | VectorSet(vector, objectPos[0], -objectPos[1], 0); src/client/cgame/campaign/../../../common/../shared/vector.h:59:54: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_CenterOnPoint_f()’: src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[1]’ was declared here 1135 | vec2_t pos; | ^~~ ===> CXX [testall] src/client/cgame/campaign/cp_hospital.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_hospital.cpp.o src/client/cgame/campaign/cp_hospital.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_hospital.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_hospital_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_hospital_callbacks.cpp.o src/client/cgame/campaign/cp_hospital_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_hospital_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_installation.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_installation.cpp.o src/client/cgame/campaign/cp_installation.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_installation.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_installation_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_installation_callbacks.cpp.o src/client/cgame/campaign/cp_installation_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_installation_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_mapfightequip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_mapfightequip.cpp.o src/client/cgame/campaign/cp_mapfightequip.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_mapfightequip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mapfightequip.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_market.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_market.cpp.o src/client/cgame/campaign/cp_market.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_market.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_market_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_market_callbacks.cpp.o src/client/cgame/campaign/cp_market_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_market_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market_callbacks.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_market_callbacks.cpp: In function ‘void BS_FillMarket_f()’: src/client/cgame/campaign/cp_market_callbacks.cpp:399:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 399 | } | ^ src/client/cgame/campaign/cp_market_callbacks.cpp:401:9: note: here 401 | case FILTER_S_PRIMARY: | ^~~~ ===> CXX [testall] src/client/cgame/campaign/cp_messageoptions.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_messageoptions.cpp.o src/client/cgame/campaign/cp_messageoptions.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_messageoptions.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_messageoptions_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_messageoptions_callbacks.cpp.o src/client/cgame/campaign/cp_messageoptions_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_messageoptions_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/campaign/../../ui/ui_data.h:31, from src/client/cgame/campaign/../../ui/ui_main.h:27, from src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:28: src/client/cgame/campaign/cp_messageoptions_callbacks.cpp: In function ‘void MSO_UpdateVisibleButtons()’: src/client/cgame/campaign/../../ui/ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const optionExtraData_t*’ {aka ‘const optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_option.h:41:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define OPTIONEXTRADATACONST(node) UI_EXTRADATACONST(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:92:28: note: in expansion of macro ‘OPTIONEXTRADATACONST’ 92 | idx = atoi(OPTIONEXTRADATACONST(option).value); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_messageoptions_callbacks.cpp: In function ‘void MSO_Toggle_f()’: src/client/cgame/campaign/../../ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:171:28: note: in expansion of macro ‘OPTIONEXTRADATA’ 171 | idx = atoi(OPTIONEXTRADATA(iterator.option).value); | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/client/cgame/campaign/cp_messages.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_messages.cpp.o src/client/cgame/campaign/cp_messages.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_messages.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messages.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_mission_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_mission_callbacks.cpp.o src/client/cgame/campaign/cp_mission_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_mission_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_callbacks.cpp:28: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_mission_triggers.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_mission_triggers.cpp.o src/client/cgame/campaign/cp_mission_triggers.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_mission_triggers.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_triggers.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_missions.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_missions.cpp.o src/client/cgame/campaign/cp_missions.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_missions.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_missions.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_nation.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_nation.cpp.o src/client/cgame/campaign/cp_nation.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_nation.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_nation.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_overlay.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_overlay.cpp.o src/client/cgame/campaign/cp_overlay.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_overlay.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_overlay.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_parse.cpp.o src/client/cgame/campaign/cp_parse.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_parse.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_popup.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_popup.cpp.o src/client/cgame/campaign/cp_popup.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_popup.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_popup.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_popup.cpp: In function ‘void CL_DisplayPopupAircraft(aircraft_t*)’: src/client/cgame/campaign/cp_popup.cpp:235:42: warning: the address of ‘mission_s::pos’ will never be NULL [-Waddress] 235 | if (tempMission->pos) { | ~~~~~~~~~~~~~^~~ In file included from src/client/cgame/campaign/cp_popup.cpp:26: src/client/cgame/campaign/cp_campaign.h:266:16: note: ‘mission_s::pos’ declared here 266 | vec2_t pos; /**< Position of the mission */ | ^~~ ===> CXX [testall] src/client/cgame/campaign/cp_produce.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_produce.cpp.o src/client/cgame/campaign/cp_produce.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_produce.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_produce_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_produce_callbacks.cpp.o src/client/cgame/campaign/cp_produce_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_produce_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_radar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_radar.cpp.o src/client/cgame/campaign/cp_radar.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_radar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_radar.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_rank.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_rank.cpp.o src/client/cgame/campaign/cp_rank.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_rank.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_rank.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_research.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_research.cpp.o src/client/cgame/campaign/cp_research.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_research.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research.cpp:31: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_research.cpp: In function ‘bool RS_ScriptSanityCheck()’: src/client/cgame/campaign/cp_research.cpp:1915:103: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 1915 | Com_Printf("...... technology '%s' has a strange 'description' value '%s'.\n", t->id, t->description.text[0]); | ^~ ===> CXX [testall] src/client/cgame/campaign/cp_research_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_research_callbacks.cpp.o src/client/cgame/campaign/cp_research_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_research_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_save.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_save.cpp.o src/client/cgame/campaign/cp_save.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_save.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_save.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_statistics.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_statistics.cpp.o src/client/cgame/campaign/cp_statistics.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_statistics.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_statistics.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_team.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_team.cpp.o src/client/cgame/campaign/cp_team.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_team.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_team_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_team_callbacks.cpp.o src/client/cgame/campaign/cp_team_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_team_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_time.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_time.cpp.o src/client/cgame/campaign/cp_time.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_time.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_time.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_transfer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_transfer.cpp.o src/client/cgame/campaign/cp_transfer.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_transfer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer.cpp:28: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_transfer_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_transfer_callbacks.cpp.o src/client/cgame/campaign/cp_transfer_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_transfer_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_ufo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_ufo.cpp.o src/client/cgame/campaign/cp_ufo.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_ufo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufo.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_ufopedia.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_ufopedia.cpp.o src/client/cgame/campaign/cp_ufopedia.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_ufopedia.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufopedia.cpp:28: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/campaign/../../ui/node/ui_node_option.h:27, from src/client/cgame/campaign/cp_ufopedia.cpp:31: src/client/cgame/campaign/cp_ufopedia.cpp: In function ‘void UP_GenerateSummary()’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_ufopedia.cpp:839:25: note: in expansion of macro ‘OPTIONEXTRADATA’ 839 | OPTIONEXTRADATA(chapterOption).icon = cgi->UI_GetSpriteByName(va("icons/ufopedia_%s", chapter->id)); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_ufopedia.cpp: In function ‘void UP_ChangeDisplay(int)’: src/client/cgame/campaign/cp_ufopedia.cpp:118:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 118 | cgi->Cvar_Set("mn_upimage_top", "base/empty"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_ufopedia.cpp:120:9: note: here 120 | case UFOPEDIA_ARTICLE: | ^~~~ ===> CXX [testall] src/client/cgame/campaign/cp_uforecovery.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_uforecovery.cpp.o src/client/cgame/campaign/cp_uforecovery.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_uforecovery.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_uforecovery_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_uforecovery_callbacks.cpp.o src/client/cgame/campaign/cp_uforecovery_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_uforecovery_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery_callbacks.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/cp_xvi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/cp_xvi.cpp.o src/client/cgame/campaign/cp_xvi.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/cp_xvi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_xvi.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_baseattack.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_baseattack.cpp.o src/client/cgame/campaign/missions/cp_mission_baseattack.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_baseattack.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_baseattack.cpp:25: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_buildbase.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_buildbase.cpp.o src/client/cgame/campaign/missions/cp_mission_buildbase.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_buildbase.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_buildbase.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_harvest.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_harvest.cpp.o src/client/cgame/campaign/missions/cp_mission_harvest.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_harvest.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_harvest.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_intercept.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_intercept.cpp.o src/client/cgame/campaign/missions/cp_mission_intercept.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_intercept.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_intercept.cpp:25: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_recon.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_recon.cpp.o src/client/cgame/campaign/missions/cp_mission_recon.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_recon.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_recon.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_rescue.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_rescue.cpp.o src/client/cgame/campaign/missions/cp_mission_rescue.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_rescue.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_rescue.cpp:25: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_supply.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_supply.cpp.o src/client/cgame/campaign/missions/cp_mission_supply.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_supply.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_supply.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_terror.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_terror.cpp.o src/client/cgame/campaign/missions/cp_mission_terror.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_terror.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_terror.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp.o src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/campaign/missions/cp_mission_xvi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_xvi.cpp.o src/client/cgame/campaign/missions/cp_mission_xvi.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_xvi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_xvi.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/cl_game.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/cl_game.cpp.o src/client/cgame/cl_game.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/cl_game.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/cl_game.h:28, from src/client/cgame/cl_game.cpp:26: src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/../cl_renderer.h:29, from src/client/cgame/../client.h:32, from src/client/cgame/cl_game.cpp:27: src/client/cgame/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cgame/../renderer/r_gl.h:32, from src/client/cgame/../renderer/r_image.h:28, from src/client/cgame/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cgame/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cgame/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cgame/../renderer/r_model.h:30, from src/client/cgame/../cl_renderer.h:28: src/client/cgame/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cgame/cl_game_team.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/cl_game_team.cpp.o src/client/cgame/cl_game_team.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/cl_game_team.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/../client.h:31, from src/client/cgame/cl_game_team.cpp:26: src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/../cl_renderer.h:29, from src/client/cgame/../client.h:32: src/client/cgame/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cgame/../renderer/r_gl.h:32, from src/client/cgame/../renderer/r_image.h:28, from src/client/cgame/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cgame/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cgame/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cgame/../renderer/r_model.h:30, from src/client/cgame/../cl_renderer.h:28: src/client/cgame/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cgame/cl_game_team.cpp: In function ‘void GAME_LoadItem(mxml_node_t*, Item*, containerIndex_t*, int*, int*)’: src/client/cgame/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Item’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/cl_game_team.cpp:630:9: note: in expansion of macro ‘OBJZERO’ 630 | OBJZERO(*item); | ^~~~~~~ In file included from src/client/cgame/../../common/../game/q_shared.h:39, from src/client/cgame/../../common/scripts.h:259, from src/client/cgame/../../common/common.h:184: src/client/cgame/../../common/../game/inv_shared.h:409:7: note: ‘class Item’ declared here 409 | class Item { | ^~~~ ===> CXX [testall] src/client/cgame/multiplayer/cl_game_multiplayer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/multiplayer/cl_game_multiplayer.cpp.o src/client/cgame/multiplayer/cl_game_multiplayer.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/multiplayer/cl_game_multiplayer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/cl_game_multiplayer.cpp:26: src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/multiplayer/mp_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/multiplayer/mp_callbacks.cpp.o src/client/cgame/multiplayer/mp_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/multiplayer/mp_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_callbacks.cpp:26: src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/multiplayer/mp_serverlist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/multiplayer/mp_serverlist.cpp.o src/client/cgame/multiplayer/mp_serverlist.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/multiplayer/mp_serverlist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_serverlist.cpp:26: src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cgame/skirmish/cl_game_skirmish.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cgame/skirmish/cl_game_skirmish.cpp.o src/client/cgame/skirmish/cl_game_skirmish.cpp -MP -MD -MT release-linux-riscv64/testall/client/cgame/skirmish/cl_game_skirmish.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/skirmish/../../../common/../shared/shared.h:54, from src/client/cgame/skirmish/../../../common/common.h:30, from src/client/cgame/skirmish/../../cl_shared.h:28, from src/client/cgame/skirmish/cl_game_skirmish.cpp:26: src/client/cgame/skirmish/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/skirmish/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/skirmish/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/skirmish/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cinematic/cl_cinematic.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cinematic/cl_cinematic.cpp.o src/client/cinematic/cl_cinematic.cpp -MP -MD -MT release-linux-riscv64/testall/client/cinematic/cl_cinematic.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/cvar.h:37, from src/client/cinematic/../cl_video.h:33, from src/client/cinematic/cl_cinematic.cpp:34: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cinematic/cl_cinematic_ogm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cinematic/cl_cinematic_ogm.cpp.o src/client/cinematic/cl_cinematic_ogm.cpp -MP -MD -MT release-linux-riscv64/testall/client/cinematic/cl_cinematic_ogm.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/common.h:30, from src/client/cinematic/../cl_shared.h:28, from src/client/cinematic/../client.h:31, from src/client/cinematic/cl_cinematic_ogm.cpp:13: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cinematic/../cl_renderer.h:29, from src/client/cinematic/../client.h:32: src/client/cinematic/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cinematic/../renderer/r_gl.h:32, from src/client/cinematic/../renderer/r_image.h:28, from src/client/cinematic/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cinematic/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cinematic/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cinematic/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cinematic/../renderer/r_model.h:30, from src/client/cinematic/../cl_renderer.h:28: src/client/cinematic/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cinematic/cl_cinematic_ogm.cpp: In function ‘bool CIN_OGM_LoadAudioFrame(cinematic_t*)’: src/client/cinematic/cl_cinematic_ogm.cpp:241:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 241 | short* ptr = (short*)rawBuffer; | ^~~~~~~~~~~~~~~~~ src/client/cinematic/cl_cinematic_ogm.cpp: In function ‘int CIN_OGM_OpenCinematic(cinematic_t*, const char*)’: src/client/cinematic/cl_cinematic_ogm.cpp:618:46: warning: cast from ‘unsigned char*’ to ‘stream_header_t*’ increases required alignment of target type [-Wcast-align] 618 | sh = (stream_header_t*) (og.body + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/cinematic/cl_cinematic_roq.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cinematic/cl_cinematic_roq.cpp.o src/client/cinematic/cl_cinematic_roq.cpp -MP -MD -MT release-linux-riscv64/testall/client/cinematic/cl_cinematic_roq.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/common.h:30, from src/client/cinematic/../cl_shared.h:28, from src/client/cinematic/../client.h:31, from src/client/cinematic/cl_cinematic_roq.cpp:29: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cinematic/../cl_renderer.h:29, from src/client/cinematic/../client.h:32: src/client/cinematic/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cinematic/../renderer/r_gl.h:32, from src/client/cinematic/../renderer/r_image.h:28, from src/client/cinematic/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cinematic/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cinematic/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cinematic/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cinematic/../renderer/r_model.h:30, from src/client/cinematic/../cl_renderer.h:28: src/client/cinematic/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/cinematic/../../common/../shared/byte.h:30, from src/client/cinematic/../../common/common.h:29: src/client/cinematic/cl_cinematic_roq.cpp: In function ‘bool CIN_ROQ_DecodeChunk(cinematic_t*)’: src/client/cinematic/cl_cinematic_roq.cpp:471:48: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 471 | ROQCIN.chunk.id = LittleShort(*(short*)&ROQCIN.header[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:471:35: note: in expansion of macro ‘LittleShort’ 471 | ROQCIN.chunk.id = LittleShort(*(short*)&ROQCIN.header[0]); | ^~~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:472:49: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 472 | ROQCIN.chunk.size = LittleLong(*(int*)&ROQCIN.header[2]); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:472:37: note: in expansion of macro ‘LittleLong’ 472 | ROQCIN.chunk.size = LittleLong(*(int*)&ROQCIN.header[2]); | ^~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:473:51: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 473 | ROQCIN.chunk.flags = LittleShort(*(short*)&ROQCIN.header[6]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:473:38: note: in expansion of macro ‘LittleShort’ 473 | ROQCIN.chunk.flags = LittleShort(*(short*)&ROQCIN.header[6]); | ^~~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp: In function ‘int CIN_ROQ_OpenCinematic(cinematic_t*, const char*)’: src/client/cinematic/cl_cinematic_roq.cpp:584:33: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 584 | chunk.id = LittleShort(*(short*)&header[0]); | ^~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:584:20: note: in expansion of macro ‘LittleShort’ 584 | chunk.id = LittleShort(*(short*)&header[0]); | ^~~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:585:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 585 | chunk.size = LittleLong(*(int*)&header[2]); | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:585:22: note: in expansion of macro ‘LittleLong’ 585 | chunk.size = LittleLong(*(int*)&header[2]); | ^~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:586:36: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 586 | chunk.flags = LittleShort(*(short*)&header[6]); | ^~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:586:23: note: in expansion of macro ‘LittleShort’ 586 | chunk.flags = LittleShort(*(short*)&header[6]); | ^~~~~~~~~~~ ===> CXX [testall] src/client/cinematic/cl_sequence.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cinematic/cl_sequence.cpp.o src/client/cinematic/cl_sequence.cpp -MP -MD -MT release-linux-riscv64/testall/client/cinematic/cl_sequence.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/common.h:30, from src/client/cinematic/../cl_shared.h:28, from src/client/cinematic/../client.h:31, from src/client/cinematic/cl_sequence.cpp:30: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cinematic/../cl_renderer.h:29, from src/client/cinematic/../client.h:32: src/client/cinematic/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cinematic/../renderer/r_gl.h:32, from src/client/cinematic/../renderer/r_image.h:28, from src/client/cinematic/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cinematic/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cinematic/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cinematic/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cinematic/../renderer/r_model.h:30, from src/client/cinematic/../cl_renderer.h:28: src/client/cinematic/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cinematic/cl_sequence.cpp: In function ‘void SEQ_Render3D(sequenceContext_t*)’: src/client/cinematic/cl_sequence.cpp:317:25: warning: the address of ‘seqEnt_s::parent’ will never be NULL [-Waddress] 317 | if (se->parent && se->tag) { | ~~~~^~~~~~ src/client/cinematic/cl_sequence.cpp:88:14: note: ‘seqEnt_s::parent’ declared here 88 | char parent[MAX_VAR]; /**< in case this is a child model (should get placed onto a tag of the parent) */ | ^~~~~~ src/client/cinematic/cl_sequence.cpp:317:39: warning: the address of ‘seqEnt_s::tag’ will never be NULL [-Waddress] 317 | if (se->parent && se->tag) { | ~~~~^~~ src/client/cinematic/cl_sequence.cpp:89:14: note: ‘seqEnt_s::tag’ declared here 89 | char tag[MAX_VAR]; /**< the tag to place this model onto */ | ^~~ In file included from src/client/cinematic/../../common/common.h:184: src/client/cinematic/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/cinematic/cl_sequence.cpp:766:6: required from here src/client/cinematic/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/cl_console.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_console.cpp.o src/client/cl_console.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_console.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_console.cpp:30: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cl_http.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_http.cpp.o src/client/cl_http.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_http.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_http.cpp:34: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/../common/http.h:32, from src/client/client.h:43: src/client/cl_http.cpp: In function ‘void CL_StartHTTPDownload(dlqueue_t*, dlhandle_t*)’: src/client/cl_http.cpp:209:36: warning: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 209 | curl_easy_setopt(dl->curl, CURLOPT_PROGRESSFUNCTION, CL_HTTP_Progress); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:1290:3: note: declared here 1290 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ src/client/cl_http.cpp: In function ‘void CL_FinishHTTPDownload()’: src/client/cl_http.cpp:656:57: warning: ‘CURLINFO_SIZE_DOWNLOAD’ is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 656 | curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD, &fileSize); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2857:3: note: declared here 2857 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ src/client/cl_http.cpp:715:41: warning: ‘CURLINFO_SIZE_DOWNLOAD’ is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 715 | curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD, &fileSize); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2857:3: note: declared here 2857 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ src/client/cl_http.cpp:670:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 670 | } | ^ src/client/cl_http.cpp:675:17: note: here 675 | case CURLE_COULDNT_RESOLVE_HOST: | ^~~~ ===> CXX [testall] src/client/cl_inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_inventory.cpp.o src/client/cl_inventory.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_inventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_inventory.cpp:27: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cl_inventory.cpp: In function ‘Item* INV_SearchInInventoryWithFilter(const Inventory*, const invDef_t*, const objDef_t*, itemFilterTypes_t)’: src/client/cl_inventory.cpp:370:9: warning: ‘nonnull’ argument ‘inv’ compared to NULL [-Wnonnull-compare] 370 | if (inv == nullptr) | ^~ ===> CXX [testall] src/client/cl_inventory_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_inventory_callbacks.cpp.o src/client/cl_inventory_callbacks.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_inventory_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/cl_inventory_callbacks.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cl_irc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_irc.cpp.o src/client/cl_irc.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_irc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_irc.cpp:29: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cl_language.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_language.cpp.o src/client/cl_language.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_language.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_language.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cl_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_main.cpp.o src/client/cl_main.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_main.cpp:29: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cl_main.cpp: In function ‘void CL_ClearState()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘clientBattleScape_t’ {aka ‘struct clientBattleScape_s’} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cl_main.cpp:240:9: note: in expansion of macro ‘OBJZERO’ 240 | OBJZERO(cl); | ^~~~~~~ In file included from src/client/client.h:40: src/client/battlescape/cl_battlescape.h:38:16: note: ‘clientBattleScape_t’ {aka ‘struct clientBattleScape_s’} declared here 38 | typedef struct clientBattleScape_s { | ^~~~~~~~~~~~~~~~~~~ In file included from src/client/cgame/cl_game.h:29, from src/client/cl_main.cpp:41: src/client/cl_main.cpp: In function ‘void CL_SetRatioFilter_f()’: src/client/cgame/../ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cl_main.cpp:674:43: note: in expansion of macro ‘OPTIONEXTRADATA’ 674 | const int result = sscanf(OPTIONEXTRADATA(option).label, "%i x %i", &width, &height); | ^~~~~~~~~~~~~~~ src/client/cl_main.cpp: In function ‘void CL_Init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘client_static_t’ {aka ‘struct client_static_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cl_main.cpp:1216:9: note: in expansion of macro ‘OBJZERO’ 1216 | OBJZERO(cls); | ^~~~~~~ src/client/client.h:54:16: note: ‘client_static_t’ {aka ‘struct client_static_s’} declared here 54 | typedef struct client_static_s { | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/client/cl_menu.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_menu.cpp.o src/client/cl_menu.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_menu.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/cl_menu.cpp:27: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/cl_screen.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_screen.cpp.o src/client/cl_screen.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_screen.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_screen.cpp:36: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cl_team.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_team.cpp.o src/client/cl_team.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_team.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_team.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cl_tip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_tip.cpp.o src/client/cl_tip.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_tip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tip.cpp:29: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cl_tutorials.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_tutorials.cpp.o src/client/cl_tutorials.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_tutorials.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tutorials.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/cl_video.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/cl_video.cpp.o src/client/cl_video.cpp -MP -MD -MT release-linux-riscv64/testall/client/cl_video.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/cvar.h:37, from src/client/cl_video.h:33, from src/client/cl_video.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32, from src/client/cl_video.cpp:27: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/input/cl_input.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/input/cl_input.cpp.o src/client/input/cl_input.cpp -MP -MD -MT release-linux-riscv64/testall/client/input/cl_input.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_input.cpp:41: src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/input/../cl_renderer.h:29, from src/client/input/../client.h:32: src/client/input/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/input/../renderer/r_gl.h:32, from src/client/input/../renderer/r_image.h:28, from src/client/input/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/input/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/input/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/input/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/input/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/input/../renderer/r_model.h:30, from src/client/input/../cl_renderer.h:28: src/client/input/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/input/cl_joystick.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/input/cl_joystick.cpp.o src/client/input/cl_joystick.cpp -MP -MD -MT release-linux-riscv64/testall/client/input/cl_joystick.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_joystick.cpp:27: src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/input/../cl_renderer.h:29, from src/client/input/../client.h:32: src/client/input/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/input/../renderer/r_gl.h:32, from src/client/input/../renderer/r_image.h:28, from src/client/input/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/input/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/input/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/input/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/input/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/input/../renderer/r_model.h:30, from src/client/input/../cl_renderer.h:28: src/client/input/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/input/cl_keys.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/input/cl_keys.cpp.o src/client/input/cl_keys.cpp -MP -MD -MT release-linux-riscv64/testall/client/input/cl_keys.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_keys.cpp:31: src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/input/../cl_renderer.h:29, from src/client/input/../client.h:32: src/client/input/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/input/../renderer/r_gl.h:32, from src/client/input/../renderer/r_image.h:28, from src/client/input/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/input/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/input/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/input/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/input/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/input/../renderer/r_model.h:30, from src/client/input/../cl_renderer.h:28: src/client/input/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_array.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_array.cpp.o src/client/renderer/r_array.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_array.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_array.cpp:28: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_bsp.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_bsp.cpp.o src/client/renderer/r_bsp.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_bsp.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_bsp.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_corona.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_corona.cpp.o src/client/renderer/r_corona.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_corona.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_corona.cpp:22: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_draw.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_draw.cpp.o src/client/renderer/r_draw.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_draw.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_draw.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_entity.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_entity.cpp.o src/client/renderer/r_entity.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_entity.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_entity.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_flare.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_flare.cpp.o src/client/renderer/r_flare.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_flare.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_flare.cpp:22: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_font.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_font.cpp.o src/client/renderer/r_font.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_font.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_font.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_font.cpp: In function ‘int R_FontHash(const char*, const font_t*)’: src/client/renderer/r_font.cpp:262:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 262 | register int hashValue, i; | ^~~~~~~~~ src/client/renderer/r_font.cpp:262:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 262 | register int hashValue, i; | ^ ===> CXX [testall] src/client/renderer/r_framebuffer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_framebuffer.cpp.o src/client/renderer/r_framebuffer.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_framebuffer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_framebuffer.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_geoscape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_geoscape.cpp.o src/client/renderer/r_geoscape.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_geoscape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_geoscape.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_grass.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_grass.cpp.o src/client/renderer/r_grass.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_grass.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_grass.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_image.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_image.cpp.o src/client/renderer/r_image.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_image.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_image.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_image.cpp: In function ‘image_t* R_LoadImageData(const char*, const byte*, int, int, imagetype_t)’: src/client/renderer/r_image.cpp:502:33: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const unsigned int*’ increases required alignment of target type [-Wcast-align] 502 | R_UploadTexture((const unsigned *) pic, width, height, image); | ^~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/renderer/r_light.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_light.cpp.o src/client/renderer/r_light.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_light.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_light.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_lightmap.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_lightmap.cpp.o src/client/renderer/r_lightmap.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_lightmap.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_lightmap.cpp:27: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_main.cpp.o src/client/renderer/r_main.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_main.cpp:27: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_main.cpp:26: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_material.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_material.cpp.o src/client/renderer/r_material.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_material.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_material.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_matrix.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_matrix.cpp.o src/client/renderer/r_matrix.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_matrix.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_matrix.cpp:21: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_mesh.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_mesh.cpp.o src/client/renderer/r_mesh.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_mesh.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_mesh.cpp:28: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_mesh_anim.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_mesh_anim.cpp.o src/client/renderer/r_mesh_anim.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_mesh_anim.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_mesh_anim.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_misc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_misc.cpp.o src/client/renderer/r_misc.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_misc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_misc.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_model.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_model.cpp.o src/client/renderer/r_model.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_model.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/renderer/../../common/../shared/byte.h:30, from src/client/renderer/../../common/common.h:29: src/client/renderer/r_model.cpp: In function ‘bool R_LoadModel(model_t*, const char*)’: src/client/renderer/r_model.cpp:133:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 133 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/renderer/r_model.cpp:133:17: note: in expansion of macro ‘LittleLong’ 133 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ ===> CXX [testall] src/client/renderer/r_model_alias.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_model_alias.cpp.o src/client/renderer/r_model_alias.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_model_alias.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_alias.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/renderer/../../common/../shared/byte.h:30, from src/client/renderer/../../common/common.h:29: src/client/renderer/r_model_alias.cpp: In function ‘bool R_ModLoadMDX(model_t*)’: src/client/renderer/r_model_alias.cpp:256:39: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 256 | version = LittleLong(*(uint32_t*) buffer); | ^~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/renderer/r_model_alias.cpp:256:27: note: in expansion of macro ‘LittleLong’ 256 | version = LittleLong(*(uint32_t*) buffer); | ^~~~~~~~~~ src/client/renderer/r_model_alias.cpp:264:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const int32_t*’ {aka ‘const int*’} increases required alignment of target type [-Wcast-align] 264 | intbuf = (const int32_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/renderer/r_model_brush.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_model_brush.cpp.o src/client/renderer/r_model_brush.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_model_brush.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_brush.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadVertexes(const lump_t*)’: src/client/renderer/r_model_brush.cpp:72:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspVertex_t*’ increases required alignment of target type [-Wcast-align] 72 | in = (const dBspVertex_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadNormals(const lump_t*)’: src/client/renderer/r_model_brush.cpp:95:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspNormal_t*’ increases required alignment of target type [-Wcast-align] 95 | in = (const dBspNormal_t*)(mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadSubmodels(const lump_t*)’: src/client/renderer/r_model_brush.cpp:136:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspModel_t*’ increases required alignment of target type [-Wcast-align] 136 | in = (const dBspModel_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadEdges(const lump_t*)’: src/client/renderer/r_model_brush.cpp:165:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspEdge_t*’ increases required alignment of target type [-Wcast-align] 165 | in = (const dBspEdge_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadTexinfo(const char*, const lump_t*)’: src/client/renderer/r_model_brush.cpp:190:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspTexinfo_t*’ {aka ‘const texinfo_s*’} increases required alignment of target type [-Wcast-align] 190 | in = (const dBspTexinfo_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadSurfaces(bool, const lump_t*)’: src/client/renderer/r_model_brush.cpp:288:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspSurface_t*’ increases required alignment of target type [-Wcast-align] 288 | in = (const dBspSurface_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadNodes(const lump_t*)’: src/client/renderer/r_model_brush.cpp:361:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspNode_t*’ increases required alignment of target type [-Wcast-align] 361 | in = (const dBspNode_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadLeafs(const lump_t*)’: src/client/renderer/r_model_brush.cpp:412:32: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspLeaf_t*’ increases required alignment of target type [-Wcast-align] 412 | const dBspLeaf_t* in = (const dBspLeaf_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadSurfedges(const lump_t*)’: src/client/renderer/r_model_brush.cpp:437:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 437 | in = (const int*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadPlanes(const lump_t*)’: src/client/renderer/r_model_brush.cpp:463:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspPlane_t*’ increases required alignment of target type [-Wcast-align] 463 | in = (const dBspPlane_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModAddMapTile(const char*, const char*, bool, int, int, int)’: src/client/renderer/r_model_brush.cpp:1059:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dBspHeader_t*’ increases required alignment of target type [-Wcast-align] 1059 | header = (dBspHeader_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/renderer/r_model_md2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_model_md2.cpp.o src/client/renderer/r_model_md2.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_model_md2.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_md2.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadTags(model_t*, void*, int)’: src/client/renderer/r_model_md2.cpp:65:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 65 | inmat = (float*) ((byte*) pintag + pheader.ofs_tags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2MeshUnindexed(model_t*, const dMD2Model_t*, int, bool)’: src/client/renderer/r_model_md2.cpp:177:18: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Triangle_t*’ increases required alignment of target type [-Wcast-align] 177 | pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:178:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Coord_t*’ increases required alignment of target type [-Wcast-align] 178 | pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:247:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 247 | const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2MeshIndexed(model_t*, const dMD2Model_t*, int)’: src/client/renderer/r_model_md2.cpp:349:18: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Triangle_t*’ increases required alignment of target type [-Wcast-align] 349 | pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:350:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Coord_t*’ increases required alignment of target type [-Wcast-align] 350 | pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:383:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 383 | const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadLevelOfDetailData(model_t*, bool)’: src/client/renderer/r_model_md2.cpp:481:31: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 481 | md2 = (const dMD2Model_t*) buf; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2Model(model_t*, byte*, int, bool)’: src/client/renderer/r_model_md2.cpp:500:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 500 | md2 = (dMD2Model_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/renderer/r_model_md3.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_model_md3.cpp.o src/client/renderer/r_model_md3.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_model_md3.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_md3.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_md3.cpp: In function ‘void R_ModLoadAliasMD3Model(model_t*, byte*, int)’: src/client/renderer/r_model_md3.cpp:47:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dmd3_t*’ increases required alignment of target type [-Wcast-align] 47 | md3 = (dmd3_t*)buffer; | ^~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:77:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3frame_t*’ increases required alignment of target type [-Wcast-align] 77 | pinframe = (const dmd3frame_t*)((const byte*)md3 + LittleLong(md3->ofs_frames)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:98:43: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3tag_t*’ increases required alignment of target type [-Wcast-align] 98 | const dmd3tag_t* pintag = (const dmd3tag_t*)((const byte*)md3 + LittleLong(md3->ofs_tags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:117:19: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3mesh_t*’ increases required alignment of target type [-Wcast-align] 117 | pinmesh = (const dmd3mesh_t*)((const byte*)md3 + LittleLong(md3->ofs_meshes)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:148:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3skin_t*’ increases required alignment of target type [-Wcast-align] 148 | const dmd3skin_t* pinskin = (const dmd3skin_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_skins)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:158:43: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int32_t*’ {aka ‘const int*’} increases required alignment of target type [-Wcast-align] 158 | const int32_t* pinindex = (const int32_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:168:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3coord_t*’ increases required alignment of target type [-Wcast-align] 168 | const dmd3coord_t* pincoord = (const dmd3coord_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tcs)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:177:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3vertex_t*’ increases required alignment of target type [-Wcast-align] 177 | pinvert = (const dmd3vertex_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_verts)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:200:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3mesh_t*’ increases required alignment of target type [-Wcast-align] 200 | pinmesh = (const dmd3mesh_t*)((const byte*)pinmesh + LittleLong(pinmesh->meshsize)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/renderer/r_model_obj.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_model_obj.cpp.o src/client/renderer/r_model_obj.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_model_obj.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_obj.cpp:55: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_particle.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_particle.cpp.o src/client/renderer/r_particle.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_particle.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_particle.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_program.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_program.cpp.o src/client/renderer/r_program.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_program.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_program.cpp:27: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_sdl.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_sdl.cpp.o src/client/renderer/r_sdl.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_sdl.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_sdl.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_sphere.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_sphere.cpp.o src/client/renderer/r_sphere.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_sphere.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_sphere.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_state.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_state.cpp.o src/client/renderer/r_state.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_state.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_state.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_surface.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_surface.cpp.o src/client/renderer/r_surface.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_surface.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_surface.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/renderer/r_thread.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/renderer/r_thread.cpp.o src/client/renderer/r_thread.cpp -MP -MD -MT release-linux-riscv64/testall/client/renderer/r_thread.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_thread.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/sound/s_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/sound/s_main.cpp.o src/client/sound/s_main.cpp -MP -MD -MT release-linux-riscv64/testall/client/sound/s_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_main.cpp:26: src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/../client.h:32: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/sound/s_mix.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/sound/s_mix.cpp.o src/client/sound/s_mix.cpp -MP -MD -MT release-linux-riscv64/testall/client/sound/s_mix.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30, from src/client/sound/../cl_shared.h:28, from src/client/sound/s_mix.cpp:26: src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/s_mix.cpp:27: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/sound/s_mumble.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/sound/s_mumble.cpp.o src/client/sound/s_mumble.cpp -MP -MD -MT release-linux-riscv64/testall/client/sound/s_mumble.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_mumble.cpp:7: src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/../client.h:32: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/sound/s_music.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/sound/s_music.cpp.o src/client/sound/s_music.cpp -MP -MD -MT release-linux-riscv64/testall/client/sound/s_music.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../shared/shared.h:54, from src/client/sound/s_local.h:31, from src/client/sound/s_music.cpp:26: src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/s_music.cpp:33: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/sound/s_music.cpp: In function ‘void M_AddToSampleBuffer(musicStream_t*, int, int, const byte*)’: src/client/sound/s_music.cpp:434:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 434 | short* ptr = (short*)&userdata->sampleBuf[userdata->samplePos]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL2/SDL_audio.h:35, from /usr/include/SDL2/SDL_mixer.h:34, from src/client/sound/s_local.h:30: src/client/sound/s_music.cpp:437:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 437 | *ptr = LittleShort(((const short*) data)[src * 2]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:437:32: note: in expansion of macro ‘LittleShort’ 437 | *ptr = LittleShort(((const short*) data)[src * 2]); | ^~~~~~~~~~~ src/client/sound/s_music.cpp:439:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 439 | *ptr = LittleShort(((const short*) data)[src * 2 + 1]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:439:32: note: in expansion of macro ‘LittleShort’ 439 | *ptr = LittleShort(((const short*) data)[src * 2 + 1]); | ^~~~~~~~~~~ src/client/sound/s_music.cpp:446:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 446 | short* ptr = (short*)&userdata->sampleBuf[userdata->samplePos]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/s_music.cpp:447:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 447 | *ptr = LittleShort(((const short*) data)[i * 2]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:447:32: note: in expansion of macro ‘LittleShort’ 447 | *ptr = LittleShort(((const short*) data)[i * 2]); | ^~~~~~~~~~~ src/client/sound/s_music.cpp:449:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 449 | *ptr = LittleShort(((const short*) data)[i * 2 + 1]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:449:32: note: in expansion of macro ‘LittleShort’ 449 | *ptr = LittleShort(((const short*) data)[i * 2 + 1]); | ^~~~~~~~~~~ ===> CXX [testall] src/client/sound/s_sample.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/sound/s_sample.cpp.o src/client/sound/s_sample.cpp -MP -MD -MT release-linux-riscv64/testall/client/sound/s_sample.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../shared/shared.h:54, from src/client/sound/s_local.h:31, from src/client/sound/s_sample.h:30, from src/client/sound/s_sample.cpp:26: src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/ui/node/ui_node_abstractnode.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_abstractnode.cpp.o src/client/ui/node/ui_node_abstractnode.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_abstractnode.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_abstractnode.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/ui/node/ui_node_abstractoption.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_abstractoption.cpp.o src/client/ui/node/ui_node_abstractoption.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_abstractoption.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractoption.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_abstractoption.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_abstractoption.cpp: In function ‘const char* UI_AbstractOptionGetCurrentValue(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:57:14: note: in expansion of macro ‘EXTRADATA’ 57 | if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:57:40: note: in expansion of macro ‘EXTRADATA’ 57 | if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:63:25: note: in expansion of macro ‘EXTRADATA’ 63 | if (!Q_strstart(EXTRADATA(node).cvar, "*cvar:")) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:66:44: note: in expansion of macro ‘EXTRADATA’ 66 | return UI_GetReferenceString(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In function ‘void UI_AbstractOptionSetCurrentValue(uiNode_t*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:71:33: note: in expansion of macro ‘EXTRADATA’ 71 | const char* cvarName = &EXTRADATA(node).cvar[6]; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In member function ‘virtual void uiAbstractOptionNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:81:13: note: in expansion of macro ‘EXTRADATA’ 81 | if (EXTRADATA(node).dataId == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:90:17: note: in expansion of macro ‘EXTRADATA’ 90 | EXTRADATA(node).count = count; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In function ‘uiNode_t* UI_AbstractOptionGetFirstOption(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:105:49: note: in expansion of macro ‘EXTRADATA’ 105 | const int v = UI_GetDataVersion(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:106:26: note: in expansion of macro ‘EXTRADATA’ 106 | if (v != EXTRADATA(node).versionId) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:108:57: note: in expansion of macro ‘EXTRADATA’ 108 | uiNode_t* option = UI_GetOption(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:114:25: note: in expansion of macro ‘EXTRADATA’ 114 | EXTRADATA(node).count = count; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:115:25: note: in expansion of macro ‘EXTRADATA’ 115 | EXTRADATA(node).versionId = v; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:117:37: note: in expansion of macro ‘EXTRADATA’ 117 | return UI_GetOption(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In function ‘void UI_RegisterAbstractOptionNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:150:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 150 | UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, EXTRADATA_TYPE, dataId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:152:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 152 | UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, EXTRADATA_TYPE, lineHeight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:155:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 155 | UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:157:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 157 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:159:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 159 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:162:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 162 | UI_RegisterExtradataNodeProperty(behaviour, "count", V_INT, EXTRADATA_TYPE, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:165:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 165 | UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:168:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 168 | UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_abstractscrollable.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_abstractscrollable.cpp.o src/client/ui/node/ui_node_abstractscrollable.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_abstractscrollable.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractscrollable.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_abstractscrollable.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_abstractscrollable.cpp: In member function ‘bool uiAbstractScrollableNode::isSizeChange(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:32: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/ui_node_abstractscrollable.cpp:47:14: note: in expansion of macro ‘Vector2Equal’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:47:43: note: in expansion of macro ‘EXTRADATA’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:32: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/ui_node_abstractscrollable.cpp:47:14: note: in expansion of macro ‘Vector2Equal’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:47:43: note: in expansion of macro ‘EXTRADATA’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:39: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:48:45: note: in expansion of macro ‘EXTRADATA’ 48 | Vector2Copy(node->box.size, EXTRADATA(node).cacheSize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:58: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:48:45: note: in expansion of macro ‘EXTRADATA’ 48 | Vector2Copy(node->box.size, EXTRADATA(node).cacheSize); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In member function ‘bool uiAbstractScrollableNode::setScrollY(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:139:19: note: in expansion of macro ‘EXTRADATA’ 139 | updated = EXTRADATA(node).scrollY.set(viewPos, viewSize, fullSize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:141:24: note: in expansion of macro ‘EXTRADATA’ 141 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:142:46: note: in expansion of macro ‘EXTRADATA’ 142 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodePageUp(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:152:25: note: in expansion of macro ‘EXTRADATA’ 152 | const int pos = EXTRADATA(node).scrollY.viewPos - 10; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodePageDown(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:160:29: note: in expansion of macro ‘EXTRADATA’ 160 | b->setScrollY(node, EXTRADATA(node).scrollY.viewPos + 10, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodeMoveUp(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:166:29: note: in expansion of macro ‘EXTRADATA’ 166 | b->setScrollY(node, EXTRADATA(node).scrollY.viewPos - 1, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodeMoveDown(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:172:29: note: in expansion of macro ‘EXTRADATA’ 172 | b->setScrollY(node, EXTRADATA(node).scrollY.viewPos + 1, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodeMoveEnd(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:187:29: note: in expansion of macro ‘EXTRADATA’ 187 | b->setScrollY(node, EXTRADATA(node).scrollY.fullSize, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In member function ‘bool uiAbstractScrollableNode::scrollY(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:197:33: note: in expansion of macro ‘EXTRADATA’ 197 | return setScrollY(node, EXTRADATA(node).scrollY.viewPos + offset, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_RegisterAbstractScrollableNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:208:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 208 | UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:210:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 210 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:212:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 212 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:214:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 214 | UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_abstractscrollbar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_abstractscrollbar.cpp.o src/client/ui/node/ui_node_abstractscrollbar.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_abstractscrollbar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_abstractscrollbar.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/ui_node_abstractscrollbar.cpp: In function ‘void UI_RegisterAbstractScrollbarNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:41:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 41 | UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, EXTRADATA_TYPE, pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:43:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 43 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, viewsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:45:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 45 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, fullsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:48:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 48 | UI_RegisterExtradataNodeProperty(behaviour, "hidewhenunused", V_BOOL, EXTRADATA_TYPE, hideWhenUnused); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_abstractvalue.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_abstractvalue.cpp.o src/client/ui/node/ui_node_abstractvalue.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_abstractvalue.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_abstractvalue.cpp:27: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_abstractvalue.cpp:29: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:49:9: note: in expansion of macro ‘EXTRADATA’ 49 | EXTRADATA(node).shiftIncreaseFactor = 2.0F; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:54:38: note: in expansion of macro ‘EXTRADATA’ 54 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).value, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:55:38: note: in expansion of macro ‘EXTRADATA’ 55 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).delta, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:56:38: note: in expansion of macro ‘EXTRADATA’ 56 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).max, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:57:38: note: in expansion of macro ‘EXTRADATA’ 57 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).min, 0); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::newNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:62:9: note: in expansion of macro ‘EXTRADATA’ 62 | EXTRADATA(node).value = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:63:9: note: in expansion of macro ‘EXTRADATA’ 63 | EXTRADATA(node).delta = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:64:9: note: in expansion of macro ‘EXTRADATA’ 64 | EXTRADATA(node).max = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:65:9: note: in expansion of macro ‘EXTRADATA’ 65 | EXTRADATA(node).min = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/common.h:34: src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::deleteNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:70:18: note: in expansion of macro ‘EXTRADATA’ 70 | Mem_Free(EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:71:18: note: in expansion of macro ‘EXTRADATA’ 71 | Mem_Free(EXTRADATA(node).delta); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:72:18: note: in expansion of macro ‘EXTRADATA’ 72 | Mem_Free(EXTRADATA(node).max); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:73:18: note: in expansion of macro ‘EXTRADATA’ 73 | Mem_Free(EXTRADATA(node).min); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:74:9: note: in expansion of macro ‘EXTRADATA’ 74 | EXTRADATA(node).value = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:75:9: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).delta = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:76:9: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).max = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:77:9: note: in expansion of macro ‘EXTRADATA’ 77 | EXTRADATA(node).min = nullptr; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getFactorFloat(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:102:16: note: in expansion of macro ‘EXTRADATACONST’ 102 | return EXTRADATACONST(node).shiftIncreaseFactor; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘void uiAbstractValueNode::setRange(uiNode_t*, float, float)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:107:13: note: in expansion of macro ‘EXTRADATA’ 107 | if (EXTRADATA(node).min == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:108:46: note: in expansion of macro ‘EXTRADATA’ 108 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).min, min); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:110:13: note: in expansion of macro ‘EXTRADATA’ 110 | if (EXTRADATA(node).max == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:111:46: note: in expansion of macro ‘EXTRADATA’ 111 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).max, max); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘bool uiAbstractValueNode::setValue(uiNode_t*, float)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:117:55: note: in expansion of macro ‘EXTRADATA’ 117 | const float last = UI_GetReferenceFloat(node, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:118:54: note: in expansion of macro ‘EXTRADATA’ 118 | const float max = UI_GetReferenceFloat(node, EXTRADATA(node).max); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:119:54: note: in expansion of macro ‘EXTRADATA’ 119 | const float min = UI_GetReferenceFloat(node, EXTRADATA(node).min); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:133:9: note: in expansion of macro ‘EXTRADATA’ 133 | EXTRADATA(node).lastdiff = value - last; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:134:46: note: in expansion of macro ‘EXTRADATA’ 134 | const char* cvar = Q_strstart((char*)EXTRADATA(node).value, "*cvar:"); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:138:27: note: in expansion of macro ‘EXTRADATA’ 138 | *(float*) EXTRADATA(node).value = value; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘bool uiAbstractValueNode::incValue(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:149:50: note: in expansion of macro ‘EXTRADATA’ 149 | float value = UI_GetReferenceFloat(node, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:150:79: note: in expansion of macro ‘EXTRADATA’ 150 | const float delta = getFactorFloat(node) * UI_GetReferenceFloat(node, EXTRADATA(node).delta); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘bool uiAbstractValueNode::decValue(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:156:50: note: in expansion of macro ‘EXTRADATA’ 156 | float value = UI_GetReferenceFloat(node, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:157:79: note: in expansion of macro ‘EXTRADATA’ 157 | const float delta = getFactorFloat(node) * UI_GetReferenceFloat(node, EXTRADATA(node).delta); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getMin(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:163:43: note: in expansion of macro ‘EXTRADATACONST’ 163 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).min); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getMax(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:168:43: note: in expansion of macro ‘EXTRADATACONST’ 168 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).max); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getDelta(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:173:43: note: in expansion of macro ‘EXTRADATACONST’ 173 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).delta); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getValue(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:178:43: note: in expansion of macro ‘EXTRADATACONST’ 178 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).value); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::clone(const uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:187:65: note: in expansion of macro ‘EXTRADATACONST’ 187 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).value, (float**)&EXTRADATA(clone).value); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:187:105: note: in expansion of macro ‘EXTRADATA’ 187 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).value, (float**)&EXTRADATA(clone).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:188:65: note: in expansion of macro ‘EXTRADATACONST’ 188 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).delta, (float**)&EXTRADATA(clone).delta); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:188:105: note: in expansion of macro ‘EXTRADATA’ 188 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).delta, (float**)&EXTRADATA(clone).delta); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:189:65: note: in expansion of macro ‘EXTRADATACONST’ 189 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).max, (float**)&EXTRADATA(clone).max); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:189:103: note: in expansion of macro ‘EXTRADATA’ 189 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).max, (float**)&EXTRADATA(clone).max); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:190:65: note: in expansion of macro ‘EXTRADATACONST’ 190 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).min, (float**)&EXTRADATA(clone).min); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:190:103: note: in expansion of macro ‘EXTRADATA’ 190 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).min, (float**)&EXTRADATA(clone).min); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In function ‘void UI_RegisterAbstractValueNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:201:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 201 | UI_RegisterExtradataNodeProperty(behaviour, "current", V_CVAR_OR_FLOAT, abstractValueExtraData_t, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:203:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 203 | UI_RegisterExtradataNodeProperty(behaviour, "delta", V_CVAR_OR_FLOAT, abstractValueExtraData_t, delta); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:205:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 205 | UI_RegisterExtradataNodeProperty(behaviour, "max", V_CVAR_OR_FLOAT, abstractValueExtraData_t, max); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:207:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 207 | UI_RegisterExtradataNodeProperty(behaviour, "min", V_CVAR_OR_FLOAT, abstractValueExtraData_t, min); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:209:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 209 | UI_RegisterExtradataNodeProperty(behaviour, "shiftincreasefactor", V_FLOAT, abstractValueExtraData_t, shiftIncreaseFactor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:214:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 214 | UI_RegisterExtradataNodeProperty(behaviour, "lastdiff", V_FLOAT, abstractValueExtraData_t, lastdiff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_bar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_bar.cpp.o src/client/ui/node/ui_node_bar.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_bar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_bar.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_bar.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:55:29: note: in expansion of macro ‘EXTRADATA’ 55 | if (node->state && !EXTRADATA(node).readOnly) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:58:37: note: in expansion of macro ‘EXTRADATA’ 58 | const float scale = EXTRADATA(node).noHover ? 1.0 : 0.8; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:71:17: note: in expansion of macro ‘EXTRADATA’ 71 | switch (EXTRADATA(node).orientation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:85:78: note: in expansion of macro ‘EXTRADATA’ 85 | Com_Printf("UI_BarNodeDraw: Orientation %d not supported\n", EXTRADATA(node).orientation); | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:110:17: note: in expansion of macro ‘EXTRADATA’ 110 | switch (EXTRADATA(node).orientation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:125:91: note: in expansion of macro ‘EXTRADATA’ 125 | Com_Printf("UI_BarNodeCapturedMouseMove: Orientation %d not supported\n", EXTRADATA(node).orientation); | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:134:31: note: in expansion of macro ‘EXTRADATA’ 134 | if (node->disabled || EXTRADATA(node).readOnly) | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:155:9: note: in expansion of macro ‘EXTRADATA’ 155 | EXTRADATA(node).orientation = ALIGN_CR; | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In function ‘void UI_RegisterBarNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:168:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 168 | UI_RegisterExtradataNodeProperty(behaviour, "direction", V_ALIGN, EXTRADATA_TYPE, orientation); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:172:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 172 | UI_RegisterExtradataNodeProperty(behaviour, "readonly", V_BOOL, EXTRADATA_TYPE, readOnly); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:176:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 176 | UI_RegisterExtradataNodeProperty(behaviour, "nohover", V_BOOL, EXTRADATA_TYPE, noHover); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_base.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_base.cpp.o src/client/ui/node/ui_node_base.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_base.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_base.cpp:24: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_base.cpp:29: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiAbstractBaseNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:50:9: note: in expansion of macro ‘EXTRADATA’ 50 | EXTRADATA(node).baseid = -1; | ^~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseLayoutNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:72:29: note: in expansion of macro ‘EXTRADATA’ 72 | GAME_DrawBaseLayout(EXTRADATA(node).baseid, nodepos[0], nodepos[1], totalMarge, width, height, node->padding, node->bgcolor, node->color); | ^~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:116:23: note: in expansion of macro ‘EXTRADATA’ 116 | GAME_DrawBase(EXTRADATA(node).baseid, nodePos[0], nodePos[1], width, height, col, row, hover, BASE_IMAGE_OVERLAY); | ^~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::drawTooltip(const uiNode_t*, int, int) const’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:133:30: note: in expansion of macro ‘EXTRADATACONST’ 133 | GAME_DrawBaseTooltip(EXTRADATACONST(node).baseid, x, y, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:153:30: note: in expansion of macro ‘EXTRADATACONST’ 153 | GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE1, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:173:30: note: in expansion of macro ‘EXTRADATACONST’ 173 | GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE2, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::onMiddleClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:194:30: note: in expansion of macro ‘EXTRADATACONST’ 194 | GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE3, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In function ‘void UI_RegisterAbstractBaseNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:216:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 216 | UI_RegisterExtradataNodeProperty(behaviour, "baseid", V_INT, baseExtraData_t, baseid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_baseinventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_baseinventory.cpp.o src/client/ui/node/ui_node_baseinventory.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_baseinventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_baseinventory.cpp:28: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_baseinventory.cpp:36: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_baseinventory.cpp: In function ‘Item* UI_ContainerNodeGetExistingItem(const uiNode_t*, const objDef_t*, itemFilterTypes_t)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:80:62: note: in expansion of macro ‘EXTRADATACONST’ 80 | return INV_SearchInInventoryWithFilter(ui_inventory, EXTRADATACONST(node).super.container, item, filterType); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_ContainerItemIteratorInit(containerItemIterator_t*, const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:172:57: note: in expansion of macro ‘EXTRADATACONST’ 172 | iterator->filterEquipType = (itemFilterTypes_t) EXTRADATACONST(node).filterEquipType; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:174:13: note: in expansion of macro ‘EXTRADATACONST’ 174 | if (EXTRADATACONST(node).displayAvailableOnTop) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:176:21: note: in expansion of macro ‘EXTRADATACONST’ 176 | if (EXTRADATACONST(node).displayWeapon) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:178:21: note: in expansion of macro ‘EXTRADATACONST’ 178 | if (EXTRADATACONST(node).displayAmmo) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:180:21: note: in expansion of macro ‘EXTRADATACONST’ 180 | if (EXTRADATACONST(node).displayImplant) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:183:21: note: in expansion of macro ‘EXTRADATACONST’ 183 | if (EXTRADATACONST(node).displayUnavailableItem) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:184:29: note: in expansion of macro ‘EXTRADATACONST’ 184 | if (EXTRADATACONST(node).displayWeapon) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:186:29: note: in expansion of macro ‘EXTRADATACONST’ 186 | if (EXTRADATACONST(node).displayAmmo) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:188:29: note: in expansion of macro ‘EXTRADATACONST’ 188 | if (EXTRADATACONST(node).displayImplant) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:192:37: note: in expansion of macro ‘EXTRADATACONST’ 192 | const int filter = (EXTRADATACONST(node).displayUnavailableItem) ? 0 : CII_AVAILABLEONLY; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:193:21: note: in expansion of macro ‘EXTRADATACONST’ 193 | if (EXTRADATACONST(node).displayWeapon) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:195:21: note: in expansion of macro ‘EXTRADATACONST’ 195 | if (EXTRADATACONST(node).displayAmmo) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:197:21: note: in expansion of macro ‘EXTRADATACONST’ 197 | if (EXTRADATACONST(node).displayImplant) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_BaseInventoryNodeUpdateScroll(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:212:13: note: in expansion of macro ‘EXTRADATA’ 212 | if (EXTRADATA(node).onViewChange) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:213:46: note: in expansion of macro ‘EXTRADATA’ 213 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:224:9: note: in expansion of macro ‘EXTRADATA’ 224 | EXTRADATA(node).super.container = INVSH_GetInventoryDefinitionByID("equip"); | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘int UI_BaseInventoryNodeDrawItems(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:244:51: note: in expansion of macro ‘EXTRADATA’ 244 | const int cellWidth = node->box.size[0] / EXTRADATA(node).columns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:259:41: note: in expansion of macro ‘EXTRADATA’ 259 | const int col = items % EXTRADATA(node).columns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:264:50: note: in expansion of macro ‘EXTRADATA’ 264 | if (outOfNode || currentHeight < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:272:70: note: in expansion of macro ‘EXTRADATA’ 272 | if (outOfNode || currentHeight + rowHeight < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:273:44: note: in expansion of macro ‘EXTRADATA’ 273 | if (col == EXTRADATA(node).columns - 1) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:284:43: note: in expansion of macro ‘EXTRADATA’ 284 | pos[1] += currentHeight - EXTRADATA(node).scrollY.viewPos; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:335:36: note: in expansion of macro ‘EXTRADATA’ 335 | if (obj->weapon && EXTRADATA(node).displayAmmoOfWeapon) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:349:116: note: in expansion of macro ‘EXTRADATA’ 349 | icItem = UI_ContainerNodeGetExistingItem(node, tempItem.def(), (itemFilterTypes_t) EXTRADATA(node).filterEquipType); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:372:28: note: in expansion of macro ‘EXTRADATA’ 372 | if (col == EXTRADATA(node).columns - 1) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:375:45: note: in expansion of macro ‘EXTRADATA’ 375 | if (currentHeight - EXTRADATA(node).scrollY.viewPos >= node->box.size[1]) | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_BaseInventoryNodeDraw2(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:415:30: note: in expansion of macro ‘EXTRADATA’ 415 | if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:415:80: note: in expansion of macro ‘EXTRADATA’ 415 | if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:416:17: note: in expansion of macro ‘EXTRADATA’ 416 | EXTRADATA(node).scrollY.fullSize = needHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:417:17: note: in expansion of macro ‘EXTRADATA’ 417 | EXTRADATA(node).scrollY.viewSize = visibleHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:420:13: note: in expansion of macro ‘EXTRADATA’ 420 | if (EXTRADATA(node).scrollY.viewPos > needHeight - visibleHeight) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:421:17: note: in expansion of macro ‘EXTRADATA’ 421 | EXTRADATA(node).scrollY.viewPos = needHeight - visibleHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:424:13: note: in expansion of macro ‘EXTRADATA’ 424 | if (EXTRADATA(node).scrollY.viewPos < 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:425:17: note: in expansion of macro ‘EXTRADATA’ 425 | EXTRADATA(node).scrollY.viewPos = 0; | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:440:14: note: in expansion of macro ‘EXTRADATA’ 440 | if (!EXTRADATA(node).super.container) | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘Item* UI_BaseInventoryNodeGetItem(const uiNode_t*, int, int, int*, int*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:465:51: note: in expansion of macro ‘EXTRADATACONST’ 465 | const int cellWidth = node->box.size[0] / EXTRADATACONST(node).columns; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:483:41: note: in expansion of macro ‘EXTRADATACONST’ 483 | const int col = items % EXTRADATACONST(node).columns; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:489:50: note: in expansion of macro ‘EXTRADATACONST’ 489 | if (outOfNode || currentHeight < EXTRADATACONST(node).scrollY.viewPos) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:497:70: note: in expansion of macro ‘EXTRADATACONST’ 497 | if (outOfNode || currentHeight + rowHeight < EXTRADATACONST(node).scrollY.viewPos) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:498:44: note: in expansion of macro ‘EXTRADATACONST’ 498 | if (col == EXTRADATACONST(node).columns - 1) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:509:43: note: in expansion of macro ‘EXTRADATACONST’ 509 | pos[1] += currentHeight - EXTRADATACONST(node).scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:536:36: note: in expansion of macro ‘EXTRADATACONST’ 536 | if (obj->weapon && EXTRADATACONST(node).displayAmmoOfWeapon) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:546:109: note: in expansion of macro ‘EXTRADATACONST’ 546 | icItem = UI_ContainerNodeGetExistingItem(node, objammo, (itemFilterTypes_t) EXTRADATACONST(node).filterEquipType); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:569:28: note: in expansion of macro ‘EXTRADATACONST’ 569 | if (col == EXTRADATACONST(node).columns - 1) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:572:45: note: in expansion of macro ‘EXTRADATACONST’ 572 | if (currentHeight - EXTRADATACONST(node).scrollY.viewPos >= node->box.size[1]) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:669:25: note: in expansion of macro ‘EXTRADATA’ 669 | EXTRADATA(node).super.lastSelectedId = dragInfoIC->def()->idx; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:670:29: note: in expansion of macro ‘EXTRADATA’ 670 | if (EXTRADATA(node).super.onSelect) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:671:62: note: in expansion of macro ‘EXTRADATA’ 671 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onSelect); | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual bool uiBaseInventoryNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:706:13: note: in expansion of macro ‘EXTRADATA’ 706 | if (EXTRADATA(node).scrollY.moveDelta(deltaY * 20)) { | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:715:9: note: in expansion of macro ‘EXTRADATA’ 715 | EXTRADATA(node).super.container = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:716:9: note: in expansion of macro ‘EXTRADATA’ 716 | EXTRADATA(node).columns = 1; | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual bool uiBaseInventoryNode::onDndEnter(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:726:13: note: in expansion of macro ‘EXTRADATA’ 726 | if (EXTRADATA(target).super.container == nullptr) | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_RegisterBaseInventoryNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:763:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 763 | UI_RegisterExtradataNodeProperty(behaviour, "displayweapon", V_BOOL, baseInventoryExtraData_t, displayWeapon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:765:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 765 | UI_RegisterExtradataNodeProperty(behaviour, "displayammo", V_BOOL, baseInventoryExtraData_t, displayAmmo); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:767:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 767 | UI_RegisterExtradataNodeProperty(behaviour, "displayimplant", V_BOOL, baseInventoryExtraData_t, displayImplant); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:769:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 769 | UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableitem", V_BOOL, baseInventoryExtraData_t, displayUnavailableItem); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:771:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 771 | UI_RegisterExtradataNodeProperty(behaviour, "displayavailableontop", V_BOOL, baseInventoryExtraData_t, displayAvailableOnTop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:773:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 773 | UI_RegisterExtradataNodeProperty(behaviour, "displayammoofweapon", V_BOOL, baseInventoryExtraData_t, displayAmmoOfWeapon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:775:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 775 | UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableammoofweapon", V_BOOL, baseInventoryExtraData_t, displayUnavailableAmmoOfWeapon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:777:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 777 | UI_RegisterExtradataNodeProperty(behaviour, "columns", V_INT, baseInventoryExtraData_t, columns); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:779:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 779 | UI_RegisterExtradataNodeProperty(behaviour, "filter", V_INT, baseInventoryExtraData_t, filterEquipType); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:782:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 782 | UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, baseInventoryExtraData_t, scrollY.viewPos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:784:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 784 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, baseInventoryExtraData_t, scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:786:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 786 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, baseInventoryExtraData_t, scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:788:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 788 | UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, baseInventoryExtraData_t, onViewChange); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_battlescape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_battlescape.cpp.o src/client/ui/node/ui_node_battlescape.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_battlescape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_battlescape.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_battlescape.cpp:32: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_button.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_button.cpp.o src/client/ui/node/ui_node_button.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_button.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_button.cpp:29: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_button.cpp:34: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_button.cpp: In member function ‘virtual void uiButtonNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:86:13: note: in expansion of macro ‘EXTRADATA’ 86 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:87:43: note: in expansion of macro ‘EXTRADATA’ 87 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:97:30: note: in expansion of macro ‘EXTRADATA’ 97 | const bool hasIcon = EXTRADATA(node).icon != nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:107:36: note: in expansion of macro ‘EXTRADATA’ 107 | content.size[0] += EXTRADATA(node).icon->size[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:108:36: note: in expansion of macro ‘EXTRADATA’ 108 | content.size[1] += EXTRADATA(node).icon->size[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:135:36: note: in expansion of macro ‘EXTRADATA’ 135 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:135:62: note: in expansion of macro ‘EXTRADATA’ 135 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:136:57: note: in expansion of macro ‘EXTRADATA’ 136 | iconPos[0], iconPos[1], EXTRADATA(node).icon->size[0], EXTRADATA(node).icon->size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:136:88: note: in expansion of macro ‘EXTRADATA’ 136 | iconPos[0], iconPos[1], EXTRADATA(node).icon->size[0], EXTRADATA(node).icon->size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_button.cpp: In function ‘void UI_RegisterButtonNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:187:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 187 | UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:188:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 188 | UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:191:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 191 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_checkbox.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_checkbox.cpp.o src/client/ui/node/ui_node_checkbox.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_checkbox.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_checkbox.cpp:34: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_checkbox.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp: In member function ‘virtual void uiCheckBoxNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:67:24: note: in expansion of macro ‘EXTRADATA’ 67 | icon = EXTRADATA(node).iconUnchecked; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:69:24: note: in expansion of macro ‘EXTRADATA’ 69 | icon = EXTRADATA(node).iconChecked; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:71:24: note: in expansion of macro ‘EXTRADATA’ 71 | icon = EXTRADATA(node).iconIndeterminate; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:76:13: note: in expansion of macro ‘EXTRADATA’ 76 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:77:43: note: in expansion of macro ‘EXTRADATA’ 77 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, status, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp: In function ‘void UI_RegisterCheckBoxNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:137:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 137 | UI_RegisterExtradataNodeProperty(behaviour, "iconChecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconChecked); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:139:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 139 | UI_RegisterExtradataNodeProperty(behaviour, "iconUnchecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconUnchecked); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:141:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 141 | UI_RegisterExtradataNodeProperty(behaviour, "iconIndeterminate", V_UI_SPRITEREF, EXTRADATA_TYPE, iconIndeterminate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:143:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 143 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_container.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_container.cpp.o src/client/ui/node/ui_node_container.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_container.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_container.cpp:34: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_container.cpp:42: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_container.cpp: In function ‘bool UI_IsScrollContainerNode(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:86:16: note: in expansion of macro ‘EXTRADATACONST’ 86 | return EXTRADATACONST(node).container && EXTRADATACONST(node).container->scroll; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:86:50: note: in expansion of macro ‘EXTRADATACONST’ 86 | return EXTRADATACONST(node).container && EXTRADATACONST(node).container->scroll; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawFreeSpace(uiNode_t*, Inventory*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:344:13: note: in expansion of macro ‘EXTRADATA’ 344 | if (EXTRADATA(node).container->single) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:346:66: note: in expansion of macro ‘EXTRADATA’ 346 | if (UI_DNDIsSourceNode(node) || inv->canHoldItem(EXTRADATA(node).container, od, 0, 0, dragInfoIC)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:347:37: note: in expansion of macro ‘EXTRADATA’ 347 | UI_DrawFree(EXTRADATA(node).container->id, node, nodepos[0], nodepos[1], node->box.size[0], node->box.size[1], true); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:361:72: note: in expansion of macro ‘EXTRADATA’ 361 | const int checkedTo = inv->canHoldItem(EXTRADATA(node).container, od, x, y, dragInfoIC); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:368:54: note: in expansion of macro ‘EXTRADATA’ 368 | if (INVSH_CheckShape(EXTRADATA(node).container->shape, x, y)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:370:61: note: in expansion of macro ‘EXTRADATA’ 370 | UI_DrawFree(EXTRADATA(node).container->id, node, nodepos[0] + x * C_UNIT, nodepos[1] + y * C_UNIT, C_UNIT, C_UNIT, showTUs); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:398:9: note: in expansion of macro ‘EXTRADATA’ 398 | EXTRADATA(node).container = container; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawSingle(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:446:36: note: in expansion of macro ‘EXTRADATA’ 446 | const invDef_t* contType = EXTRADATA(node).container; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawGrid(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:509:60: note: in expansion of macro ‘EXTRADATA’ 509 | const Container &cont = ui_inventory->getContainer(EXTRADATA(node).container->id); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawDropPreview(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:536:47: note: in expansion of macro ‘EXTRADATA’ 536 | checkedTo = ui_inventory->canHoldItem(EXTRADATA(target).container, previewItem.def(), dragInfoToX, dragInfoToY, dragInfoIC); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:558:13: note: in expansion of macro ‘EXTRADATA’ 558 | if (EXTRADATA(target).container->single) { | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:584:14: note: in expansion of macro ‘EXTRADATA’ 584 | if (!EXTRADATA(node).container) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:597:13: note: in expansion of macro ‘EXTRADATA’ 597 | if (EXTRADATA(node).container->single) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:608:35: note: in expansion of macro ‘EXTRADATA’ 608 | if (UI_DNDIsDragging() && EXTRADATA(node).container->id != CID_EQUIP) | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘Item* UI_ContainerNodeGetItemAtPosition(const uiNode_t*, int, int, int*, int*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:644:51: note: in expansion of macro ‘EXTRADATACONST’ 644 | Item* result = ui_inventory->getItemAtPos(EXTRADATACONST(node).container, fromX, fromY); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeAutoPlaceItem(uiNode_t*, Item*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:691:37: note: in expansion of macro ‘EXTRADATA’ 691 | const invDef_t* container = EXTRADATA(node).container; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:751:9: note: in expansion of macro ‘EXTRADATA’ 751 | EXTRADATA(node).lastSelectedId = ic->def()->idx; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:752:13: note: in expansion of macro ‘EXTRADATA’ 752 | if (EXTRADATA(node).onSelect) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:753:46: note: in expansion of macro ‘EXTRADATA’ 753 | UI_ExecuteEventActions(node, EXTRADATA(node).onSelect); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:825:25: note: in expansion of macro ‘EXTRADATA’ 825 | EXTRADATA(node).lastSelectedId = dragInfoIC->def()->idx; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:826:29: note: in expansion of macro ‘EXTRADATA’ 826 | if (EXTRADATA(node).onSelect) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:827:62: note: in expansion of macro ‘EXTRADATA’ 827 | UI_ExecuteEventActions(node, EXTRADATA(node).onSelect); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:859:9: note: in expansion of macro ‘EXTRADATA’ 859 | EXTRADATA(node).container = nullptr; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual bool uiContainerNode::onDndEnter(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:869:47: note: in expansion of macro ‘EXTRADATA’ 869 | return UI_DNDGetType() == DND_ITEM && EXTRADATA(target).container && (!UI_IsScrollContainerNode(target) || UI_DNDGetSourceNode() != target); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual bool uiContainerNode::onDndMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:886:41: note: in expansion of macro ‘EXTRADATA’ 886 | const invDef_t* containerType = EXTRADATA(target).container; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual bool uiContainerNode::onDndFinished(uiNode_t*, bool)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:966:43: note: in expansion of macro ‘EXTRADATACONST’ 966 | const invDef_t* sourceContainer = EXTRADATACONST(source).container; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:978:51: note: in expansion of macro ‘EXTRADATACONST’ 978 | const invDef_t* targetContainer = EXTRADATACONST(target).container; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:988:59: note: in expansion of macro ‘EXTRADATACONST’ 988 | const invDef_t* targetContainer = EXTRADATACONST(target).container; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_RegisterContainerNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:1042:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 1042 | UI_RegisterExtradataNodeProperty(behaviour, "lastselectedid", V_INT, containerExtraData_t, lastSelectedId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:1044:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 1044 | UI_RegisterExtradataNodeProperty(behaviour, "onselect", V_UI_ACTION, containerExtraData_t, onSelect); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawDropPreview(uiNode_t*)’: src/client/ui/node/ui_node_container.cpp:544:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 544 | if (!Key_IsDown(K_SHIFT) || CL_BattlescapeRunning()) | ^~ src/client/ui/node/ui_node_container.cpp:546:9: note: here 546 | case INV_FITS_ONLY_ROTATED: | ^~~~ ===> CXX [testall] src/client/ui/node/ui_node_controls.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_controls.cpp.o src/client/ui/node/ui_node_controls.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_controls.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_controls.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/ui/node/ui_node_data.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_data.cpp.o src/client/ui/node/ui_node_data.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_data.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_data.cpp:33: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_data.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_data.cpp: In function ‘void UI_RegisterDataNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘dataExtraData_t*’ {aka ‘dataExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_data.cpp:59:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 59 | UI_RegisterExtradataNodeProperty(behaviour, "number", V_FLOAT, EXTRADATA_TYPE, number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘dataExtraData_t*’ {aka ‘dataExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_data.cpp:62:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 62 | UI_RegisterExtradataNodeProperty(behaviour, "integer", V_INT, EXTRADATA_TYPE, number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_editor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_editor.cpp.o src/client/ui/node/ui_node_editor.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_editor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_editor.cpp:28: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_editor.cpp:35: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_ekg.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_ekg.cpp.o src/client/ui/node/ui_node_ekg.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_ekg.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_ekg.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_ekg.cpp:29: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_ekg.cpp: In member function ‘virtual void uiEkgNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:43:61: note: in expansion of macro ‘EXTRADATA’ 43 | const char* imageName = UI_GetReferenceString(node, EXTRADATA(node).super.source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:68:64: note: in expansion of macro ‘EXTRADATA’ 68 | current = Cvar_GetValue("mn_morale") / EXTRADATA(node).scaleCvarValue; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:70:60: note: in expansion of macro ‘EXTRADATA’ 70 | current = Cvar_GetValue("mn_hp") / EXTRADATA(node).scaleCvarValue; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:74:17: note: in expansion of macro ‘EXTRADATA’ 74 | EXTRADATA(node).super.texl[1] = (ekgMaxIndex - (int)(ekgValue / ekgDivide)) * ekgHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:75:17: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).super.texh[1] = EXTRADATA(node).super.texl[1] + ekgHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:75:49: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).super.texh[1] = EXTRADATA(node).super.texl[1] + ekgHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:76:17: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).super.texl[0] = -(int) (EXTRADATA(node).scrollSpeed * CL_Milliseconds()) % ekgWidth; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:76:57: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).super.texl[0] = -(int) (EXTRADATA(node).scrollSpeed * CL_Milliseconds()) % ekgWidth; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:77:17: note: in expansion of macro ‘EXTRADATA’ 77 | EXTRADATA(node).super.texh[0] = EXTRADATA(node).super.texl[0] + node->box.size[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:77:49: note: in expansion of macro ‘EXTRADATA’ 77 | EXTRADATA(node).super.texh[0] = EXTRADATA(node).super.texl[0] + node->box.size[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:86:29: note: in expansion of macro ‘EXTRADATA’ 86 | if (EXTRADATA(node).super.preventRatio) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:33: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:64: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:95: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:126: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp: In member function ‘virtual void uiEkgNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:108:9: note: in expansion of macro ‘EXTRADATA’ 108 | EXTRADATA(node).scaleCvarValue = 1.0f; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:109:9: note: in expansion of macro ‘EXTRADATA’ 109 | EXTRADATA(node).scrollSpeed = 0.07f; | ^~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp: In function ‘void UI_RegisterEKGNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:120:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 120 | UI_RegisterExtradataNodeProperty(behaviour, "scrollspeed", V_FLOAT, ekgExtraData_t, scrollSpeed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:122:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 122 | UI_RegisterExtradataNodeProperty(behaviour, "scale", V_FLOAT, ekgExtraData_t, scaleCvarValue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_geoscape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_geoscape.cpp.o src/client/ui/node/ui_node_geoscape.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_geoscape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_geoscape.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_geoscape.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::smoothRotate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:111:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 111 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:111:77: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 111 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:48: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:55: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:74: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:72: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:79: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:74: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:96: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:103: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:74: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:115:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 115 | if (UI_MAPEXTRADATACONST(node).smoothDeltaLength > UI_MAPEXTRADATACONST(node).smoothDeltaZoom) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:115:60: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 115 | if (UI_MAPEXTRADATACONST(node).smoothDeltaLength > UI_MAPEXTRADATACONST(node).smoothDeltaZoom) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:123:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 123 | rotationSpeed = sin(3.05f * diffAngle / UI_MAPEXTRADATACONST(node).smoothDeltaLength) * diffAngle; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:124:41: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 124 | if (diffAngle / UI_MAPEXTRADATACONST(node).smoothDeltaLength > 0.5) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:125:69: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 125 | rotationSpeed = std::min(diffAngle, UI_MAPEXTRADATACONST(node).curRotationSpeed + rotationSpeed * 0.5f); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:127:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 127 | UI_MAPEXTRADATA(node).curRotationSpeed = rotationSpeed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:38: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:76: note: in expansion of macro ‘UI_MAPEXTRADATA’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:48: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:35: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:62: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:76: note: in expansion of macro ‘UI_MAPEXTRADATA’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:72: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:35: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:86: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:76: note: in expansion of macro ‘UI_MAPEXTRADATA’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:96: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:35: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:130:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 130 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHACCELERATION * diffZoom / diffAngle * rotationSpeed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:130:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 130 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHACCELERATION * diffZoom / diffAngle * rotationSpeed; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:140:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 140 | if (fabsf(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom > 0.5f) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:142:56: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 142 | const float newSpeed = UI_MAPEXTRADATACONST(node).curZoomSpeed + sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:142:127: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 142 | const float newSpeed = UI_MAPEXTRADATACONST(node).curZoomSpeed + sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:145:70: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 145 | speed = sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION * 2.0; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:147:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 147 | UI_MAPEXTRADATA(node).curZoomSpeed = speed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:148:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 148 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + diffZoom * speed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:148:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 148 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + diffZoom * speed; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:39: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:70: note: in expansion of macro ‘UI_MAPEXTRADATA’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:20: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:58: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:70: note: in expansion of macro ‘UI_MAPEXTRADATA’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:20: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:77: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:70: note: in expansion of macro ‘UI_MAPEXTRADATA’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:20: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:155:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 155 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:156:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 156 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:156:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 156 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::smoothTranslate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:166:29: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 166 | const float dist1 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0] - UI_MAPEXTRADATACONST(node).center[0]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:166:89: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 166 | const float dist1 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0] - UI_MAPEXTRADATACONST(node).center[0]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:167:29: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 167 | const float dist2 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1] - UI_MAPEXTRADATACONST(node).center[1]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:167:89: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 167 | const float dist2 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1] - UI_MAPEXTRADATACONST(node).center[1]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:171:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 171 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:171:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 171 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:172:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 172 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:172:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 172 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:173:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 173 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:173:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 173 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:174:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 174 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:176:40: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 176 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:176:85: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 176 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:177:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 177 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).center[0] + SMOOTHING_STEP_2D * dist1 / length; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:177:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 177 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).center[0] + SMOOTHING_STEP_2D * dist1 / length; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:178:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 178 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).center[1] + SMOOTHING_STEP_2D * dist2 / length; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:178:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 178 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).center[1] + SMOOTHING_STEP_2D * dist2 / length; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:179:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 179 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHING_STEP_2D * diffZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:179:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 179 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHING_STEP_2D * diffZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::calcAndUploadDayAndNightTexture(uiNode_t*, float)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:205:14: note: in expansion of macro ‘UI_MAPEXTRADATA’ 205 | px = UI_MAPEXTRADATA(node).r_dayandnightAlpha; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:222:45: note: in expansion of macro ‘UI_MAPEXTRADATA’ 222 | R_UploadAlpha(r_dayandnightTexture, UI_MAPEXTRADATA(node).r_dayandnightAlpha); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:230:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 230 | UI_MAPEXTRADATA(node).flatgeoscape = cl_3dmap->integer == 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:231:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 231 | UI_MAPEXTRADATA(node).overlayMask = cl_geoscape_overlay->integer; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:232:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 232 | UI_MAPEXTRADATA(node).ambientLightFactor = cl_3dmapAmbient->value; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:233:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 233 | UI_MAPEXTRADATA(node).mapzoommin = cl_mapzoommin->value; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:234:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 234 | UI_MAPEXTRADATA(node).mapzoommax = cl_mapzoommax->value; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:236:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 236 | UI_GetNodeAbsPos(node, UI_MAPEXTRADATA(node).mapPos); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:39: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:237:37: note: in expansion of macro ‘UI_MAPEXTRADATA’ 237 | Vector2Copy(node->box.size, UI_MAPEXTRADATA(node).mapSize); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:58: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:237:37: note: in expansion of macro ‘UI_MAPEXTRADATA’ 237 | Vector2Copy(node->box.size, UI_MAPEXTRADATA(node).mapSize); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:238:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 238 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:240:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 240 | UI_MAPEXTRADATA(node).mapSize[0] -= UI_MAPEXTRADATACONST(node).paddingRight; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:240:53: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 240 | UI_MAPEXTRADATA(node).mapSize[0] -= UI_MAPEXTRADATACONST(node).paddingRight; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:247:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 247 | if (UI_MAPEXTRADATACONST(node).smoothRotation) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:248:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 248 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:254:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 254 | geoscapeData_t& data = *UI_MAPEXTRADATA(node).geoscapeData; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:264:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 264 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:274:36: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 274 | R_DrawFlatGeoscape(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, (float) date.sec / SECONDS_PER_DAY, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:274:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 274 | R_DrawFlatGeoscape(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, (float) date.sec / SECONDS_PER_DAY, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:33: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 275 | UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 275 | UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:115: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 275 | UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:281:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 281 | if (UI_MAPEXTRADATACONST(node).zoom > 3.3) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:286:31: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 286 | R_Draw3DGlobe(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, date.day, date.sec, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:286:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 286 | R_Draw3DGlobe(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, date.day, date.sec, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:287:33: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 287 | UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATACONST(node).zoom, map, disableSolarRender, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:287:68: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 287 | UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATACONST(node).zoom, map, disableSolarRender, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:288:33: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 288 | UI_MAPEXTRADATACONST(node).ambientLightFactor, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_NATION, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:288:80: note: in expansion of macro ‘UI_MAPEXTRADATA’ 288 | UI_MAPEXTRADATACONST(node).ambientLightFactor, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_NATION, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:289:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 289 | UI_MAPEXTRADATA(node).overlayMask & OVERLAY_XVI, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_RADAR, r_xviTexture, r_radarTexture, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:289:82: note: in expansion of macro ‘UI_MAPEXTRADATA’ 289 | UI_MAPEXTRADATA(node).overlayMask & OVERLAY_XVI, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_RADAR, r_xviTexture, r_radarTexture, | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:307:42: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 307 | const float zoom = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:309:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 309 | UI_MAPEXTRADATA(node).center[0] -= (float) (mousePosX - oldMousePosX) / (node->box.size[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:309:110: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 309 | UI_MAPEXTRADATA(node).center[0] -= (float) (mousePosX - oldMousePosX) / (node->box.size[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:310:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 310 | UI_MAPEXTRADATA(node).center[1] -= (float) (mousePosY - oldMousePosY) / (node->box.size[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:310:110: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 310 | UI_MAPEXTRADATA(node).center[1] -= (float) (mousePosY - oldMousePosY) / (node->box.size[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:313:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 313 | while (UI_MAPEXTRADATACONST(node).center[i] < 0.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:314:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 314 | UI_MAPEXTRADATA(node).center[i] += 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:315:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 315 | while (UI_MAPEXTRADATACONST(node).center[i] > 1.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:316:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 316 | UI_MAPEXTRADATA(node).center[i] -= 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:318:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 318 | if (UI_MAPEXTRADATACONST(node).center[1] < zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:319:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 319 | UI_MAPEXTRADATA(node).center[1] = zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:320:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 320 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:321:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 321 | UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:327:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 327 | UI_MAPEXTRADATA(node).angles[PITCH] += ROTATE_SPEED * (mousePosX - oldMousePosX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:327:100: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 327 | UI_MAPEXTRADATA(node).angles[PITCH] += ROTATE_SPEED * (mousePosX - oldMousePosX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:328:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 328 | UI_MAPEXTRADATA(node).angles[YAW] -= ROTATE_SPEED * (mousePosY - oldMousePosY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:328:98: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 328 | UI_MAPEXTRADATA(node).angles[YAW] -= ROTATE_SPEED * (mousePosY - oldMousePosY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:331:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 331 | while (UI_MAPEXTRADATACONST(node).angles[YAW] > 0.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:332:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 332 | UI_MAPEXTRADATA(node).angles[YAW] = 0.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:333:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 333 | while (UI_MAPEXTRADATACONST(node).angles[YAW] < -180.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:334:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 334 | UI_MAPEXTRADATA(node).angles[YAW] = -180.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:336:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 336 | while (UI_MAPEXTRADATACONST(node).angles[PITCH] > 180.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:337:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 337 | UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:338:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 338 | while (UI_MAPEXTRADATACONST(node).angles[PITCH] < -180.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:339:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 339 | UI_MAPEXTRADATA(node).angles[PITCH] += 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:343:42: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 343 | const float zoom = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:345:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 345 | UI_MAPEXTRADATA(node).zoom *= pow(0.995, mousePosY - oldMousePosY); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:346:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 346 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:346:55: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 346 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:347:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 347 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:347:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 347 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:348:26: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 348 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:348:60: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 348 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:349:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 349 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:349:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 349 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:351:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 351 | if (UI_MAPEXTRADATACONST(node).center[1] < zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:352:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 352 | UI_MAPEXTRADATA(node).center[1] = zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:353:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 353 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:354:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 354 | UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::startMouseShifting(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:368:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 368 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:372:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 372 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::screenToMap(const uiNode_t*, int, int, vec_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 386 | pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 386 | pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:112: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 386 | pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:387:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 387 | - (UI_MAPEXTRADATACONST(node).center[0] - 0.5)) * 360.0; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 388 | pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 388 | pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:112: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 388 | pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:389:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 389 | - (UI_MAPEXTRADATACONST(node).center[1] - 0.5)) * 180.0; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::screenTo3DMap(const uiNode_t*, int, int, vec_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:69:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 69 | #define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:410:30: note: in expansion of macro ‘GLOBE_RADIUS’ 410 | const float radius = GLOBE_RADIUS; | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:42: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:413:25: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 413 | Vector2Set(mid, UI_MAPEXTRADATACONST(node).mapPos[0] + UI_MAPEXTRADATACONST(node).mapSize[0] / 2.0f, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:42: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:413:64: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 413 | Vector2Set(mid, UI_MAPEXTRADATACONST(node).mapPos[0] + UI_MAPEXTRADATACONST(node).mapSize[0] / 2.0f, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:54: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:414:25: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 414 | UI_MAPEXTRADATACONST(node).mapPos[1] + UI_MAPEXTRADATACONST(node).mapSize[1] / 2.0f); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:54: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:414:64: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 414 | UI_MAPEXTRADATACONST(node).mapPos[1] + UI_MAPEXTRADATACONST(node).mapSize[1] / 2.0f); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:440:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 440 | RotatePointAroundVector(v1, rotationAxis, v, UI_MAPEXTRADATACONST(node).angles[YAW]); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:445:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 445 | RotatePointAroundVector(v, rotationAxis, v1, UI_MAPEXTRADATACONST(node).angles[PITCH]); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:460:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 460 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::zoom(uiNode_t*, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:508:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 508 | UI_MAPEXTRADATA(node).zoom *= pow(0.995, (out ? 10: -10)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:509:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 509 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:509:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 509 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:510:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 510 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:510:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 510 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:511:18: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 511 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:511:52: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 511 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:512:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 512 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:512:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 512 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:514:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 514 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:515:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 515 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:515:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 515 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:516:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 516 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:516:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 516 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:517:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 517 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:517:72: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 517 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:518:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 518 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:518:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 518 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:520:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 520 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:176:36: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_geoscape.cpp:539:9: note: in expansion of macro ‘OBJZERO’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:539:17: note: in expansion of macro ‘EXTRADATA’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:176:56: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_geoscape.cpp:539:9: note: in expansion of macro ‘OBJZERO’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:539:17: note: in expansion of macro ‘EXTRADATA’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:540:9: note: in expansion of macro ‘EXTRADATA’ 540 | EXTRADATA(node).angles[YAW] = GLOBE_ROTATE; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:541:9: note: in expansion of macro ‘EXTRADATA’ 541 | EXTRADATA(node).center[0] = EXTRADATA(node).center[1] = 0.5; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:541:37: note: in expansion of macro ‘EXTRADATA’ 541 | EXTRADATA(node).center[0] = EXTRADATA(node).center[1] = 0.5; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:542:9: note: in expansion of macro ‘EXTRADATA’ 542 | EXTRADATA(node).zoom = 1.0; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:35: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:543:20: note: in expansion of macro ‘EXTRADATA’ 543 | Vector2Set(EXTRADATA(node).smoothFinal2DGeoscapeCenter, 0.5, 0.5); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:47: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:543:20: note: in expansion of macro ‘EXTRADATA’ 543 | Vector2Set(EXTRADATA(node).smoothFinal2DGeoscapeCenter, 0.5, 0.5); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:35: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:544:19: note: in expansion of macro ‘EXTRADATA’ 544 | VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:47: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:544:19: note: in expansion of macro ‘EXTRADATA’ 544 | VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:59: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:544:19: note: in expansion of macro ‘EXTRADATA’ 544 | VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:547:9: note: in expansion of macro ‘EXTRADATA’ 547 | EXTRADATA(node).geoscapeData = &geoscapeData; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:551:9: note: in expansion of macro ‘EXTRADATA’ 551 | EXTRADATA(node).r_dayandnightAlpha = Mem_AllocTypeN(byte, DAN_WIDTH * DAN_HEIGHT); | ^~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In function ‘void UI_GeoscapeNodeZoom_f()’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:591:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 591 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, -zoomAmount); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:591:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 591 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, -zoomAmount); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:594:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 594 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, zoomAmount); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:594:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 594 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, zoomAmount); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:601:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 601 | if (UI_MAPEXTRADATACONST(node).smoothFinalZoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:601:58: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 601 | if (UI_MAPEXTRADATACONST(node).smoothFinalZoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:602:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 602 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:602:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 602 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:603:18: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 603 | else if (UI_MAPEXTRADATACONST(node).smoothFinalZoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:603:63: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 603 | else if (UI_MAPEXTRADATACONST(node).smoothFinalZoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:604:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 604 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:604:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 604 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:606:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 606 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:607:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 607 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:607:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 607 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:608:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 608 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:608:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 608 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:609:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 609 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:609:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 609 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:610:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 610 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:610:72: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 610 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:611:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 611 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:611:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 611 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:39: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:58: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:77: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:614:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 614 | UI_MAPEXTRADATA(node).smoothDeltaLength = 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:615:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 615 | UI_MAPEXTRADATA(node).smoothRotation = true; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 616 | UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:62: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 616 | UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:107: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 616 | UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In function ‘void UI_GeoscapeNodeScroll_f()’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:659:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 659 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:39: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:58: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:77: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:666:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 666 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += ROTATE_SPEED * (scrollX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:666:98: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 666 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += ROTATE_SPEED * (scrollX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:667:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 667 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] -= ROTATE_SPEED * (scrollY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:667:96: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 667 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] -= ROTATE_SPEED * (scrollY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:669:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 669 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[YAW] < -180.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:670:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 670 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] = -180.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:672:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 672 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[YAW] > 0.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:673:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 673 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] = 0.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:676:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 676 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[PITCH] > 180.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:677:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 677 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] -= 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:678:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 678 | UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:680:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 680 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[PITCH] < -180.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:681:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 681 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:682:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 682 | UI_MAPEXTRADATA(node).angles[PITCH] += 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:48: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:55: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:82: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:72: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:79: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:82: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:96: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:103: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:82: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:685:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 685 | UI_MAPEXTRADATA(node).smoothDeltaLength = VectorLength(diff); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:687:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 687 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:687:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 687 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:688:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 688 | UI_MAPEXTRADATA(node).smoothDeltaZoom = 0.0f; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:689:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 689 | UI_MAPEXTRADATA(node).smoothRotation = true; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 693 | UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:73: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 693 | UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:113: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 693 | UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 694 | UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:73: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 694 | UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:113: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 694 | UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:696:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 696 | while (UI_MAPEXTRADATACONST(node).center[i] < 0.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:697:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 697 | UI_MAPEXTRADATA(node).center[i] += 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:698:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 698 | while (UI_MAPEXTRADATACONST(node).center[i] > 1.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:699:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 699 | UI_MAPEXTRADATA(node).center[i] -= 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:701:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 701 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:701:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 701 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:702:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 702 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:702:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 702 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:703:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 703 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:703:72: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 703 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:704:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 704 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:704:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 704 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In function ‘void UI_RegisterGeoscapeNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:715:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 715 | UI_RegisterExtradataNodeProperty(behaviour, "padding-right", V_FLOAT, EXTRADATA_TYPE, paddingRight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_image.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_image.cpp.o src/client/ui/node/ui_node_image.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_image.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_image.cpp:39: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_image.cpp:42: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_image.cpp: In member function ‘virtual void uiImageNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:59:21: note: in expansion of macro ‘EXTRADATA’ 59 | if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:59:53: note: in expansion of macro ‘EXTRADATA’ 59 | if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:60:45: note: in expansion of macro ‘EXTRADATA’ 60 | node->box.size[0] = EXTRADATA(node).texh[0] - EXTRADATA(node).texl[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:60:71: note: in expansion of macro ‘EXTRADATA’ 60 | node->box.size[0] = EXTRADATA(node).texh[0] - EXTRADATA(node).texl[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:61:45: note: in expansion of macro ‘EXTRADATA’ 61 | node->box.size[1] = EXTRADATA(node).texh[1] - EXTRADATA(node).texl[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:61:71: note: in expansion of macro ‘EXTRADATA’ 61 | node->box.size[1] = EXTRADATA(node).texh[1] - EXTRADATA(node).texl[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:62:28: note: in expansion of macro ‘EXTRADATA’ 62 | } else if (EXTRADATA(node).source) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:63:61: note: in expansion of macro ‘EXTRADATA’ 63 | const image_t* image = UI_LoadImage(EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/ui_node_image.cpp: In member function ‘virtual void uiImageNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:129:61: note: in expansion of macro ‘EXTRADATA’ 129 | const char* imageName = UI_GetReferenceString(node, EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:169:21: note: in expansion of macro ‘EXTRADATA’ 169 | if (EXTRADATA(node).preventRatio) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:182:25: note: in expansion of macro ‘EXTRADATA’ 182 | EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:182:50: note: in expansion of macro ‘EXTRADATA’ 182 | EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:183:25: note: in expansion of macro ‘EXTRADATA’ 183 | EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:183:50: note: in expansion of macro ‘EXTRADATA’ 183 | EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); | ^~~~~~~~~ src/client/ui/node/ui_node_image.cpp: In function ‘void UI_RegisterImageNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:203:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 203 | UI_RegisterExtradataNodeProperty(behaviour, "preventratio", V_BOOL, EXTRADATA_TYPE, preventRatio); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:207:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 207 | UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, EXTRADATA_TYPE, mousefx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:210:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 210 | UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:212:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 212 | UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:215:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 215 | UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp: In member function ‘virtual void uiImageNode::draw(uiNode_t*)’: src/client/ui/node/ui_node_image.cpp:181:25: warning: ‘imagepos[0]’ may be used uninitialized [-Wmaybe-uninitialized] 181 | UI_DrawNormImage(false, imagepos[0] + node->padding, imagepos[1] + node->padding, size[0], size[1], | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:126:16: note: ‘imagepos[0]’ was declared here 126 | vec2_t imagepos; | ^~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_item.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_item.cpp.o src/client/ui/node/ui_node_item.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_item.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_item.cpp:27: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/node/ui_node_item.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_item.cpp: In member function ‘virtual void uiItemNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:46:55: note: in expansion of macro ‘EXTRADATA’ 46 | const char* ref = UI_GetReferenceString(node, EXTRADATA(node).model); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:60:21: note: in expansion of macro ‘EXTRADATA’ 60 | if (EXTRADATA(node).containerLike || Q_strnull(model)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:70:71: note: in expansion of macro ‘EXTRADATA’ 70 | UI_DrawItem(node, itemNodePos, &item, -1, -1, EXTRADATA(node).scale, color); | ^~~~~~~~~ src/client/ui/node/ui_node_item.cpp: In function ‘void UI_RegisterItemNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:86:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 86 | UI_RegisterExtradataNodeProperty(behaviour, "containerlike", V_BOOL, modelExtraData_t, containerLike); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_linechart.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_linechart.cpp.o src/client/ui/node/ui_node_linechart.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_linechart.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_linechart.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_linechart.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_linechart.cpp: In member function ‘virtual void uiLineChartNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:40:28: note: in expansion of macro ‘EXTRADATA’ 40 | const int dataId = EXTRADATA(node).dataId; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:48:17: note: in expansion of macro ‘EXTRADATA’ 48 | EXTRADATA(node).dataId = 0; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:58:13: note: in expansion of macro ‘EXTRADATA’ 58 | if (EXTRADATA(node).displayAxes) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:66:25: note: in expansion of macro ‘EXTRADATA’ 66 | R_Color(EXTRADATA(node).axesColor); | ^~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp: In function ‘void UI_RegisterLineChartNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:91:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 91 | UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, lineChartExtraData_t, dataId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:93:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 93 | UI_RegisterExtradataNodeProperty(behaviour, "displayaxes", V_BOOL, lineChartExtraData_t, displayAxes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:95:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 95 | UI_RegisterExtradataNodeProperty(behaviour, "axescolor", V_COLOR, lineChartExtraData_t, axesColor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_material_editor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_material_editor.cpp.o src/client/ui/node/ui_node_material_editor.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_material_editor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../cl_shared.h:28, from src/client/ui/node/../../client.h:31, from src/client/ui/node/ui_node_material_editor.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_material_editor.cpp:27: src/client/ui/node/ui_node_material_editor.cpp: In member function ‘virtual void uiMaterialEditorNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:161:43: note: in expansion of macro ‘EXTRADATA’ 161 | if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp: In function ‘int UI_MaterialEditorNodeGetImageAtPosition(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:231:43: note: in expansion of macro ‘EXTRADATA’ 231 | if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_messagelist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_messagelist.cpp.o src/client/ui/node/ui_node_messagelist.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_messagelist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_messagelist.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_messagelist.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_messagelist.cpp: In function ‘void UI_MessageDraw(const uiNode_t*, uiMessageListNodeMessage_t*, const char*, int, int, int, int*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:126:99: note: in expansion of macro ‘EXTRADATACONST’ 126 | UI_DrawString(fontID, ALIGN_UL, x, y, x, column1, LINEHEIGHT, message->timestamp, EXTRADATACONST(node).scrollY.viewSize, 0, &lines1, true, LONGLINES_WRAP); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:141:86: note: in expansion of macro ‘EXTRADATACONST’ 141 | UI_DrawString(fontID, ALIGN_UL, x, y, x, column2, LINEHEIGHT, message->text, EXTRADATACONST(node).scrollY.viewSize, 0, &lines2, true, LONGLINES_WRAP); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp: In member function ‘virtual void uiMessageListNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:212:16: note: in expansion of macro ‘EXTRADATA’ 212 | posY = EXTRADATA(node).scrollY.viewPos; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:226:36: note: in expansion of macro ‘EXTRADATA’ 226 | if (screenLines >= EXTRADATA(node).scrollY.viewSize) | ^~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp: In member function ‘virtual void uiMessageListNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:267:17: note: in expansion of macro ‘EXTRADATA’ 267 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:267:52: note: in expansion of macro ‘EXTRADATA’ 267 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_model.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_model.cpp.o src/client/ui/node/ui_node_model.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_model.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_model.cpp:30: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_model.cpp:31: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:86:55: note: in expansion of macro ‘EXTRADATA’ 86 | const char* ref = UI_GetReferenceString(node, EXTRADATA(node).model); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_InitModelInfoView(uiNode_t*, modelInfo_t*, uiModel_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:105:50: note: in expansion of macro ‘EXTRADATA’ 105 | nodeorigin[0] += node->box.size[0] / 2 + EXTRADATA(node).origin[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:106:50: note: in expansion of macro ‘EXTRADATA’ 106 | nodeorigin[1] += node->box.size[1] / 2 + EXTRADATA(node).origin[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:107:25: note: in expansion of macro ‘EXTRADATA’ 107 | nodeorigin[2] = EXTRADATA(node).origin[2]; | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:109:20: note: in expansion of macro ‘EXTRADATA’ 109 | VectorCopy(EXTRADATA(node).scale, mi->scale); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:109:20: note: in expansion of macro ‘EXTRADATA’ 109 | VectorCopy(EXTRADATA(node).scale, mi->scale); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:109:20: note: in expansion of macro ‘EXTRADATA’ 109 | VectorCopy(EXTRADATA(node).scale, mi->scale); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:110:20: note: in expansion of macro ‘EXTRADATA’ 110 | VectorCopy(EXTRADATA(node).angles, mi->angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:110:20: note: in expansion of macro ‘EXTRADATA’ 110 | VectorCopy(EXTRADATA(node).angles, mi->angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:110:20: note: in expansion of macro ‘EXTRADATA’ 110 | VectorCopy(EXTRADATA(node).angles, mi->angles); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_DrawModelNodeWithUIModel(uiNode_t*, const char*, modelInfo_t*, uiModel_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:182:29: note: in expansion of macro ‘EXTRADATA’ 182 | if (EXTRADATA(node).autoscale) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:205:29: note: in expansion of macro ‘EXTRADATA’ 205 | if (EXTRADATA(node).autoscale) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:219:29: note: in expansion of macro ‘EXTRADATA’ 219 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:219:59: note: in expansion of macro ‘EXTRADATA’ 219 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:220:67: note: in expansion of macro ‘EXTRADATA’ 220 | ref = UI_GetReferenceString(node, EXTRADATA(node).animation); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_DrawModelNode(uiNode_t*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:278:13: note: in expansion of macro ‘EXTRADATA’ 278 | if (EXTRADATA(node).clipOverflow) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:281:50: note: in expansion of macro ‘EXTRADATA’ 281 | nodeorigin[0] += node->box.size[0] / 2 + EXTRADATA(node).origin[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:282:50: note: in expansion of macro ‘EXTRADATA’ 282 | nodeorigin[1] += node->box.size[1] / 2 + EXTRADATA(node).origin[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:283:25: note: in expansion of macro ‘EXTRADATA’ 283 | nodeorigin[2] = EXTRADATA(node).origin[2]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:18: note: in expansion of macro ‘EXTRADATA’ 285 | VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:57: note: in expansion of macro ‘EXTRADATA’ 285 | VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:80: note: in expansion of macro ‘EXTRADATA’ 285 | VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:287:21: note: in expansion of macro ‘EXTRADATA’ 287 | mi.angles = EXTRADATA(node).angles; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:288:20: note: in expansion of macro ‘EXTRADATA’ 288 | mi.scale = EXTRADATA(node).scale; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:296:21: note: in expansion of macro ‘EXTRADATA’ 296 | if (EXTRADATA(node).clipOverflow) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:302:13: note: in expansion of macro ‘EXTRADATA’ 302 | if (EXTRADATA(node).tag) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:303:21: note: in expansion of macro ‘EXTRADATA’ 303 | if (EXTRADATA(node).clipOverflow) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:309:13: note: in expansion of macro ‘EXTRADATA’ 309 | if (EXTRADATA(node).autoscale) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:322:13: note: in expansion of macro ‘EXTRADATA’ 322 | if (EXTRADATA(node).skin && *EXTRADATA(node).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:322:38: note: in expansion of macro ‘EXTRADATA’ 322 | if (EXTRADATA(node).skin && *EXTRADATA(node).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:323:60: note: in expansion of macro ‘EXTRADATA’ 323 | mi.skin = atoi(UI_GetReferenceString(node, EXTRADATA(node).skin)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:328:13: note: in expansion of macro ‘EXTRADATA’ 328 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:328:43: note: in expansion of macro ‘EXTRADATA’ 328 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:330:51: note: in expansion of macro ‘EXTRADATA’ 330 | ref = UI_GetReferenceString(node, EXTRADATA(node).animation); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:333:29: note: in expansion of macro ‘EXTRADATA’ 333 | if (strncmp(EXTRADATA(node).oldRefValue, source, MAX_OLDREFVALUE)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:334:36: note: in expansion of macro ‘EXTRADATA’ 334 | Q_strncpyz(EXTRADATA(node).oldRefValue, source, MAX_OLDREFVALUE); | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/common.h:34: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:336:34: note: in expansion of macro ‘EXTRADATA’ 336 | Mem_Free(EXTRADATA(node).animationState); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:337:25: note: in expansion of macro ‘EXTRADATA’ 337 | EXTRADATA(node).animationState = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:339:35: note: in expansion of macro ‘EXTRADATA’ 339 | animState_t* as = EXTRADATA(node).animationState; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:345:25: note: in expansion of macro ‘EXTRADATA’ 345 | EXTRADATA(node).animationState = as; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:381:37: note: in expansion of macro ‘EXTRADATA’ 381 | mi.angles = EXTRADATA(child).angles; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:382:36: note: in expansion of macro ‘EXTRADATA’ 382 | mi.scale = EXTRADATA(child).scale; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:384:37: note: in expansion of macro ‘EXTRADATA’ 384 | mi.origin = EXTRADATA(child).origin; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:388:31: note: in expansion of macro ‘EXTRADATA’ 388 | tag = EXTRADATA(child).tag; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:391:65: note: in expansion of macro ‘EXTRADATA’ 391 | childRef = UI_GetReferenceString(child, EXTRADATA(child).model); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:400:29: note: in expansion of macro ‘EXTRADATA’ 400 | if (EXTRADATA(child).skin && *EXTRADATA(child).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:400:55: note: in expansion of macro ‘EXTRADATA’ 400 | if (EXTRADATA(child).skin && *EXTRADATA(child).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:401:77: note: in expansion of macro ‘EXTRADATA’ 401 | mi.skin = atoi(UI_GetReferenceString(child, EXTRADATA(child).skin)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:409:13: note: in expansion of macro ‘EXTRADATA’ 409 | if (EXTRADATA(node).clipOverflow) | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:418:31: note: in expansion of macro ‘EXTRADATA’ 418 | float* rotateAngles = EXTRADATA(node).angles; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:440:14: note: in expansion of macro ‘EXTRADATA’ 440 | if (!EXTRADATA(node).rotateWithMouse) | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:35: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:462:19: note: in expansion of macro ‘EXTRADATA’ 462 | VectorSet(EXTRADATA(node).scale, 1, 1, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:47: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:462:19: note: in expansion of macro ‘EXTRADATA’ 462 | VectorSet(EXTRADATA(node).scale, 1, 1, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:59: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:462:19: note: in expansion of macro ‘EXTRADATA’ 462 | VectorSet(EXTRADATA(node).scale, 1, 1, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:463:9: note: in expansion of macro ‘EXTRADATA’ 463 | EXTRADATA(node).clipOverflow = true; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::clone(const uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:473:17: note: in expansion of macro ‘EXTRADATA’ 473 | EXTRADATA(clone).oldRefValue = UI_AllocStaticString("", MAX_OLDREFVALUE); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::newNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:478:9: note: in expansion of macro ‘EXTRADATA’ 478 | EXTRADATA(node).oldRefValue = Mem_PoolAllocTypeN(char, MAX_OLDREFVALUE, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:479:9: note: in expansion of macro ‘EXTRADATA’ 479 | EXTRADATA(node).oldRefValue[0] = '\0'; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::deleteNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:484:18: note: in expansion of macro ‘EXTRADATA’ 484 | Mem_Free(EXTRADATA(node).oldRefValue); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:485:9: note: in expansion of macro ‘EXTRADATA’ 485 | EXTRADATA(node).oldRefValue = nullptr; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:491:13: note: in expansion of macro ‘EXTRADATA’ 491 | if (EXTRADATA(node).tag != nullptr && node->behaviour != node->parent->behaviour) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:493:17: note: in expansion of macro ‘EXTRADATA’ 493 | EXTRADATA(node).tag = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:496:13: note: in expansion of macro ‘EXTRADATA’ 496 | if (EXTRADATA(node).oldRefValue == nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:497:17: note: in expansion of macro ‘EXTRADATA’ 497 | EXTRADATA(node).oldRefValue = UI_AllocStaticString("", MAX_OLDREFVALUE); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:500:13: note: in expansion of macro ‘EXTRADATA’ 500 | if (EXTRADATA(node).tag == nullptr && (node->box.size[0] == 0 || node->box.size[1] == 0)) { | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_RegisterModelNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:514:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 514 | UI_RegisterExtradataNodeProperty(behaviour, "anim", V_CVAR_OR_STRING, modelExtraData_t, animation); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:516:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 516 | UI_RegisterExtradataNodeProperty(behaviour, "angles", V_VECTOR, modelExtraData_t, angles); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:518:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 518 | UI_RegisterExtradataNodeProperty(behaviour, "origin", V_VECTOR, modelExtraData_t, origin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:520:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 520 | UI_RegisterExtradataNodeProperty(behaviour, "omega", V_VECTOR, modelExtraData_t, omega); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:522:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 522 | UI_RegisterExtradataNodeProperty(behaviour, "scale", V_VECTOR, modelExtraData_t, scale); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:524:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 524 | UI_RegisterExtradataNodeProperty(behaviour, "tag", V_CVAR_OR_STRING, modelExtraData_t, tag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:528:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 528 | UI_RegisterExtradataNodeProperty(behaviour, "autoscale", V_BOOL, modelExtraData_t, autoscale); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:530:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 530 | UI_RegisterExtradataNodeProperty(behaviour, "rotatewithmouse", V_BOOL, modelExtraData_t, rotateWithMouse); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:532:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 532 | UI_RegisterExtradataNodeProperty(behaviour, "clipoverflow", V_BOOL, modelExtraData_t, clipOverflow); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:534:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 534 | UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, modelExtraData_t, model); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:536:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 536 | UI_RegisterExtradataNodeProperty(behaviour, "skin", V_CVAR_OR_STRING, modelExtraData_t, skin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_option.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_option.cpp.o src/client/ui/node/ui_node_option.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_option.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_option.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_option.cpp:31: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_option.cpp: In function ‘int UI_OptionUpdateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:60:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 60 | if (OPTIONEXTRADATA(option).collapsed) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:61:25: note: in expansion of macro ‘OPTIONEXTRADATA’ 61 | OPTIONEXTRADATA(option).childCount = 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:68:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 68 | OPTIONEXTRADATA(option).childCount = localCount; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp: In member function ‘virtual void uiOptionNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:83:29: note: in expansion of macro ‘EXTRADATA’ 83 | if (EXTRADATA(child).collapsed) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:84:46: note: in expansion of macro ‘EXTRADATA’ 84 | count += 1 + EXTRADATA(child).childCount; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:90:9: note: in expansion of macro ‘EXTRADATA’ 90 | EXTRADATA(node).childCount = count; | ^~~~~~~~~ src/client/ui/node/ui_node_option.cpp: In function ‘void UI_InitOption(uiNode_t*, const char*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:113:20: note: in expansion of macro ‘OPTIONEXTRADATA’ 113 | Q_strncpyz(OPTIONEXTRADATA(option).label, label, sizeof(OPTIONEXTRADATA(option).label)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:113:65: note: in expansion of macro ‘OPTIONEXTRADATA’ 113 | Q_strncpyz(OPTIONEXTRADATA(option).label, label, sizeof(OPTIONEXTRADATA(option).label)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:114:20: note: in expansion of macro ‘OPTIONEXTRADATA’ 114 | Q_strncpyz(OPTIONEXTRADATA(option).value, value, sizeof(OPTIONEXTRADATA(option).value)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:114:65: note: in expansion of macro ‘OPTIONEXTRADATA’ 114 | Q_strncpyz(OPTIONEXTRADATA(option).value, value, sizeof(OPTIONEXTRADATA(option).value)); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp: In function ‘void UI_RegisterOptionNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:140:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 140 | UI_RegisterExtradataNodeProperty(behaviour, "label", V_STRING, EXTRADATA_TYPE, label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:145:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 145 | UI_RegisterExtradataNodeProperty(behaviour, "value", V_STRING, EXTRADATA_TYPE, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:150:29: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 150 | propertyCollapsed = UI_RegisterExtradataNodeProperty(behaviour, "collapsed", V_BOOL, EXTRADATA_TYPE, collapsed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:154:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 154 | UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:155:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 155 | UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_optionlist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_optionlist.cpp.o src/client/ui/node/ui_node_optionlist.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_optionlist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optionlist.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_optionlist.cpp:32: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_optionlist.cpp: In function ‘void UI_OptionListNodeUpdateScroll(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:64:23: note: in expansion of macro ‘EXTRADATA’ 64 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:71:19: note: in expansion of macro ‘EXTRADATA’ 71 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:71:61: note: in expansion of macro ‘EXTRADATA’ 71 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:72:24: note: in expansion of macro ‘EXTRADATA’ 72 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:73:46: note: in expansion of macro ‘EXTRADATA’ 73 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:94:13: note: in expansion of macro ‘EXTRADATA’ 94 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:95:43: note: in expansion of macro ‘EXTRADATA’ 95 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:100:23: note: in expansion of macro ‘EXTRADATA’ 100 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:107:34: note: in expansion of macro ‘EXTRADATA’ 107 | while (option && count < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:122:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 122 | if (OPTIONEXTRADATA(option).hovered) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:126:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 126 | if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:136:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 136 | if (OPTIONEXTRADATA(option).icon) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 141 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:78: note: in expansion of macro ‘OPTIONEXTRADATA’ 141 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:136: note: in expansion of macro ‘OPTIONEXTRADATA’ 141 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:142:33: note: in expansion of macro ‘OPTIONEXTRADATA’ 142 | decX += OPTIONEXTRADATA(option).icon->size[0] + lineHeight / 4; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:146:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 146 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:164:13: note: in expansion of macro ‘EXTRADATA’ 164 | if (EXTRADATA(node).count != count) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:165:17: note: in expansion of macro ‘EXTRADATA’ 165 | EXTRADATA(node).count = count; | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In function ‘uiNode_t* UI_OptionListNodeGetOptionAtPosition(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:182:23: note: in expansion of macro ‘EXTRADATA’ 182 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:189:34: note: in expansion of macro ‘EXTRADATA’ 189 | while (option && count < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:220:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 220 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual bool uiOptionListNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:232:19: note: in expansion of macro ‘EXTRADATA’ 232 | updated = EXTRADATA(node).scrollY.moveDelta(down ? 1 : -1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:233:13: note: in expansion of macro ‘EXTRADATA’ 233 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:234:46: note: in expansion of macro ‘EXTRADATA’ 234 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:258:9: note: in expansion of macro ‘EXTRADATA’ 258 | EXTRADATA(node).versionId = -1; | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:273:17: note: in expansion of macro ‘EXTRADATA’ 273 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:273:52: note: in expansion of macro ‘EXTRADATA’ 273 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:293:27: note: in expansion of macro ‘EXTRADATA’ 293 | updated = EXTRADATA(node).scrollY.moveDelta(deltaY); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:294:21: note: in expansion of macro ‘EXTRADATA’ 294 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:295:54: note: in expansion of macro ‘EXTRADATA’ 295 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual int uiOptionListNode::getCellHeight(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:310:26: note: in expansion of macro ‘EXTRADATA’ 310 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In function ‘void UI_RegisterOptionListNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:324:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 324 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_optiontree.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_optiontree.cpp.o src/client/ui/node/ui_node_optiontree.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_optiontree.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optiontree.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_optiontree.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_OptionTreeNodeUpdateScroll(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:69:22: note: in expansion of macro ‘EXTRADATA’ 69 | fontHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:74:19: note: in expansion of macro ‘EXTRADATA’ 74 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:74:61: note: in expansion of macro ‘EXTRADATA’ 74 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:75:24: note: in expansion of macro ‘EXTRADATA’ 75 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:76:46: note: in expansion of macro ‘EXTRADATA’ 76 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_OptionTreeNodeUpdateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:86:17: note: in expansion of macro ‘EXTRADATA’ 86 | EXTRADATA(node).count = UI_OptionUpdateCache(option); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘uiNode_t* UI_OptionTreeNodeGetFirstOption(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:100:49: note: in expansion of macro ‘EXTRADATA’ 100 | const int v = UI_GetDataVersion(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:101:49: note: in expansion of macro ‘EXTRADATA’ 101 | uiNode_t* option = UI_GetOption(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:102:26: note: in expansion of macro ‘EXTRADATA’ 102 | if (v != EXTRADATA(node).versionId) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:103:25: note: in expansion of macro ‘EXTRADATA’ 103 | EXTRADATA(node).versionId = v; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:135:13: note: in expansion of macro ‘EXTRADATA’ 135 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:136:43: note: in expansion of macro ‘EXTRADATA’ 136 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:140:22: note: in expansion of macro ‘EXTRADATA’ 140 | fontHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:152:47: note: in expansion of macro ‘EXTRADATA’ 152 | option = UI_InitOptionIteratorAtIndex(EXTRADATA(node).scrollY.viewPos, option, &iterator); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:165:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 165 | if (OPTIONEXTRADATA(option).hovered) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:169:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 169 | if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:184:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 184 | uiSprite_t* icon = OPTIONEXTRADATA(option).collapsed ? systemExpand : systemCollapse; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:185:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 185 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, icon, SPRITE_STATUS_NORMAL, decX, currentY, icon->size[0], fontHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:190:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 190 | if (OPTIONEXTRADATA(option).icon) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:194:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 194 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:194:78: note: in expansion of macro ‘OPTIONEXTRADATA’ 194 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:195:41: note: in expansion of macro ‘OPTIONEXTRADATA’ 195 | OPTIONEXTRADATA(option).icon->size[0], fontHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:196:33: note: in expansion of macro ‘OPTIONEXTRADATA’ 196 | decX += OPTIONEXTRADATA(option).icon->size[0] + fontHeight / 4; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:199:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 199 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘uiNode_t* UI_OptionTreeNodeGetOptionAtPosition(uiNode_t*, int, int, int*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:224:22: note: in expansion of macro ‘EXTRADATA’ 224 | fontHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:229:17: note: in expansion of macro ‘EXTRADATA’ 229 | count = EXTRADATA(node).scrollY.viewPos + (y - node->padding) / fontHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:255:25: note: in expansion of macro ‘OPTIONEXTRADATA’ 255 | OPTIONEXTRADATA(option).collapsed = !OPTIONEXTRADATA(option).collapsed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:255:62: note: in expansion of macro ‘OPTIONEXTRADATA’ 255 | OPTIONEXTRADATA(option).collapsed = !OPTIONEXTRADATA(option).collapsed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:263:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 263 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual bool uiOptionTreeNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:275:19: note: in expansion of macro ‘EXTRADATA’ 275 | updated = EXTRADATA(node).scrollY.move(down ? 1 : -1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:276:13: note: in expansion of macro ‘EXTRADATA’ 276 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:277:46: note: in expansion of macro ‘EXTRADATA’ 277 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:301:9: note: in expansion of macro ‘EXTRADATA’ 301 | EXTRADATA(node).versionId = -1; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_OptionTreeSetSelectedValue(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:333:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 333 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:341:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 341 | OPTIONEXTRADATA(iterator.depthCache[i]).collapsed = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:353:19: note: in expansion of macro ‘EXTRADATA’ 353 | updated = EXTRADATA(node).scrollY.move(pos); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:354:24: note: in expansion of macro ‘EXTRADATA’ 354 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:355:46: note: in expansion of macro ‘EXTRADATA’ 355 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:371:17: note: in expansion of macro ‘EXTRADATA’ 371 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:371:52: note: in expansion of macro ‘EXTRADATA’ 371 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:391:27: note: in expansion of macro ‘EXTRADATA’ 391 | updated = EXTRADATA(node).scrollY.moveDelta(deltaY); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:392:21: note: in expansion of macro ‘EXTRADATA’ 392 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:393:54: note: in expansion of macro ‘EXTRADATA’ 393 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual int uiOptionTreeNode::getCellHeight(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:408:26: note: in expansion of macro ‘EXTRADATA’ 408 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_RegisterOptionTreeNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:424:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 424 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_panel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_panel.cpp.o src/client/ui/node/ui_node_panel.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_panel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_panel.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_panel.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:56:13: note: in expansion of macro ‘EXTRADATA’ 56 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:57:43: note: in expansion of macro ‘EXTRADATA’ 57 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_TopDownFlowLayout(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:93:27: note: in expansion of macro ‘EXTRADATA’ 93 | updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], node->box.size[0]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:94:27: note: in expansion of macro ‘EXTRADATA’ 94 | updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], positionY + node->padding) || updated; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:95:32: note: in expansion of macro ‘EXTRADATA’ 95 | if (updated && EXTRADATA(node).super.onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:96:54: note: in expansion of macro ‘EXTRADATA’ 96 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_ClientLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:343:19: note: in expansion of macro ‘EXTRADATA’ 343 | updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], width); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:344:19: note: in expansion of macro ‘EXTRADATA’ 344 | updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], height) || updated; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:345:24: note: in expansion of macro ‘EXTRADATA’ 345 | if (updated && EXTRADATA(node).super.onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:346:46: note: in expansion of macro ‘EXTRADATA’ 346 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_ColumnLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:363:13: note: in expansion of macro ‘EXTRADATA’ 363 | if (EXTRADATA(node).layoutColumns <= 0) { | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/common.h:34, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:40:85: note: in definition of macro ‘Mem_PoolAlloc’ 40 | #define Mem_PoolAlloc(size,pool,tagNum) _Mem_Alloc((size),true,(pool),(tagNum),__FILE__,__LINE__) | ^~~~ src/client/ui/node/../../../common/mem.h:37:100: note: in expansion of macro ‘Mem_Alloc’ 37 | #define Mem_AllocTypeN(type, n) static_cast(Mem_Alloc(sizeof(type) * (n))) | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:368:26: note: in expansion of macro ‘Mem_AllocTypeN’ 368 | int* columnPos = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:368:46: note: in expansion of macro ‘EXTRADATA’ 368 | int* columnPos = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:40:85: note: in definition of macro ‘Mem_PoolAlloc’ 40 | #define Mem_PoolAlloc(size,pool,tagNum) _Mem_Alloc((size),true,(pool),(tagNum),__FILE__,__LINE__) | ^~~~ src/client/ui/node/../../../common/mem.h:37:100: note: in expansion of macro ‘Mem_Alloc’ 37 | #define Mem_AllocTypeN(type, n) static_cast(Mem_Alloc(sizeof(type) * (n))) | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:369:27: note: in expansion of macro ‘Mem_AllocTypeN’ 369 | int* columnSize = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:369:47: note: in expansion of macro ‘EXTRADATA’ 369 | int* columnSize = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:373:25: note: in expansion of macro ‘EXTRADATA’ 373 | for (i = 0; i < EXTRADATA(node).layoutColumns; i++) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:385:25: note: in expansion of macro ‘EXTRADATA’ 385 | for (i = 1; i < EXTRADATA(node).layoutColumns; i++) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:386:71: note: in expansion of macro ‘EXTRADATA’ 386 | columnPos[i] = columnPos[i - 1] + columnSize[i - 1] + EXTRADATA(node).layoutMargin; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:393:40: note: in expansion of macro ‘EXTRADATA’ 393 | const int column = i % EXTRADATA(node).layoutColumns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:398:50: note: in expansion of macro ‘EXTRADATA’ 398 | y += rowHeight + EXTRADATA(node).layoutMargin; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:410:36: note: in expansion of macro ‘EXTRADATA’ 410 | const int column = EXTRADATA(node).layoutColumns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:415:27: note: in expansion of macro ‘EXTRADATA’ 415 | updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], width); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:416:27: note: in expansion of macro ‘EXTRADATA’ 416 | updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], height) || updated; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:417:32: note: in expansion of macro ‘EXTRADATA’ 417 | if (updated && EXTRADATA(node).super.onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:418:54: note: in expansion of macro ‘EXTRADATA’ 418 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:430:17: note: in expansion of macro ‘EXTRADATA’ 430 | switch (EXTRADATA(node).layout) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:434:44: note: in expansion of macro ‘EXTRADATA’ 434 | UI_TopDownFlowLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:437:46: note: in expansion of macro ‘EXTRADATA’ 437 | UI_LeftRightFlowLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:440:39: note: in expansion of macro ‘EXTRADATA’ 440 | UI_BorderLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:443:37: note: in expansion of macro ‘EXTRADATA’ 443 | UI_PackLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:455:78: note: in expansion of macro ‘EXTRADATA’ 455 | Com_Printf("UI_PanelNodeDoLayout: layout '%d' unsupported.", EXTRADATA(node).layout); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:468:9: note: in expansion of macro ‘EXTRADATA’ 468 | EXTRADATA(node).wheelScrollable = true; | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual bool uiPanelNode::onMouseLongPress(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:477:37: note: in expansion of macro ‘EXTRADATA’ 477 | bool hasSomethingToScroll = EXTRADATA(node).super.scrollX.fullSize > EXTRADATA(node).super.scrollX.viewSize | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:477:78: note: in expansion of macro ‘EXTRADATA’ 477 | bool hasSomethingToScroll = EXTRADATA(node).super.scrollX.fullSize > EXTRADATA(node).super.scrollX.viewSize | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:478:28: note: in expansion of macro ‘EXTRADATA’ 478 | || EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:478:69: note: in expansion of macro ‘EXTRADATA’ 478 | || EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:514:13: note: in expansion of macro ‘EXTRADATA’ 514 | if (EXTRADATA(node).layout != LAYOUT_NONE) | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::getClientPosition(const uiNode_t*, vec_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:39:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 39 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:520:24: note: in expansion of macro ‘EXTRADATACONST’ 520 | position[0] = -EXTRADATACONST(node).super.scrollX.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:39:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 39 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:521:24: note: in expansion of macro ‘EXTRADATACONST’ 521 | position[1] = -EXTRADATACONST(node).super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual bool uiPanelNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:549:14: note: in expansion of macro ‘EXTRADATA’ 549 | if (!EXTRADATA(node).wheelScrollable || deltaY == 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:552:19: note: in expansion of macro ‘EXTRADATA’ 552 | updated = EXTRADATA(node).super.scrollX.moveDelta(deltaX * 50); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:553:20: note: in expansion of macro ‘EXTRADATA’ 553 | updated |= EXTRADATA(node).super.scrollY.moveDelta(deltaY * 50); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:554:13: note: in expansion of macro ‘EXTRADATA’ 554 | if (EXTRADATA(node).super.onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:555:46: note: in expansion of macro ‘EXTRADATA’ 555 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_RegisterPanelNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:594:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 594 | UI_RegisterExtradataNodeProperty(behaviour, "layout", V_INT, panelExtraData_t, layout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:598:32: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 598 | propertyLayoutMargin = UI_RegisterExtradataNodeProperty(behaviour, "layoutMargin", V_INT, panelExtraData_t, layoutMargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:602:33: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 602 | propertyLayoutColumns = UI_RegisterExtradataNodeProperty(behaviour, "layoutColumns", V_INT, panelExtraData_t, layoutColumns); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:606:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 606 | UI_RegisterExtradataNodeProperty(behaviour, "wheelscrollable", V_BOOL, panelExtraData_t, wheelScrollable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:609:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 609 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_radar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_radar.cpp.o src/client/ui/node/ui_node_radar.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_radar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_radar.h:27, from src/client/ui/node/ui_node_radar.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_radar.cpp:27: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_radiobutton.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_radiobutton.cpp.o src/client/ui/node/ui_node_radiobutton.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_radiobutton.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_radiobutton.cpp:37: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_radiobutton.cpp:43: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_radiobutton.cpp: In function ‘bool UI_RadioButtonNodeIsSelected(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:58:13: note: in expansion of macro ‘EXTRADATA’ 58 | if (EXTRADATA(node).string == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:59:66: note: in expansion of macro ‘EXTRADATA’ 59 | const float current = UI_GetReferenceFloat(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:60:34: note: in expansion of macro ‘EXTRADATA’ 60 | return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:60:79: note: in expansion of macro ‘EXTRADATA’ 60 | return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:62:67: note: in expansion of macro ‘EXTRADATA’ 62 | const char* current = UI_GetReferenceString(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:34: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:63:41: note: in expansion of macro ‘EXTRADATA’ 63 | return Q_streq(current, EXTRADATA(node).string); | ^~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp: In member function ‘virtual void uiRadioButtonNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:103:13: note: in expansion of macro ‘EXTRADATA’ 103 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:104:43: note: in expansion of macro ‘EXTRADATA’ 104 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:107:13: note: in expansion of macro ‘EXTRADATA’ 107 | if (EXTRADATA(node).icon) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:108:36: note: in expansion of macro ‘EXTRADATA’ 108 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:108:62: note: in expansion of macro ‘EXTRADATA’ 108 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp: In member function ‘virtual void uiRadioButtonNode::onActivate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:118:14: note: in expansion of macro ‘EXTRADATA’ 118 | if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:118:48: note: in expansion of macro ‘EXTRADATA’ 118 | if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:125:63: note: in expansion of macro ‘EXTRADATA’ 125 | char const* const cvarName = Q_strstart((char const*)(EXTRADATA(node).cvar), "*cvar:"); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:129:36: note: in expansion of macro ‘EXTRADATA’ 129 | UI_GetReferenceFloat(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:134:13: note: in expansion of macro ‘EXTRADATA’ 134 | if (EXTRADATA(node).string == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:135:41: note: in expansion of macro ‘EXTRADATA’ 135 | Cvar_SetValue(cvarName, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:137:42: note: in expansion of macro ‘EXTRADATA’ 137 | Cvar_Set(cvarName, "%s", EXTRADATA(node).string); | ^~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp: In function ‘void UI_RegisterRadioButtonNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:161:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 161 | UI_RegisterExtradataNodeProperty(behaviour, "value", V_FLOAT, EXTRADATA_TYPE, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:163:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 163 | UI_RegisterExtradataNodeProperty(behaviour, "stringValue", V_CVAR_OR_STRING, EXTRADATA_TYPE, string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:166:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 166 | UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:168:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 168 | UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:169:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 169 | UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:171:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 171 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_rows.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_rows.cpp.o src/client/ui/node/ui_node_rows.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_rows.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_rows.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_rows.cpp:27: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_rows.cpp: In member function ‘virtual void uiRowsNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:41:17: note: in expansion of macro ‘EXTRADATA’ 41 | int i = EXTRADATA(node).current; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:47:45: note: in expansion of macro ‘EXTRADATA’ 47 | const int height = std::min(EXTRADATA(node).lineHeight, (int)node->box.size[1] - current); | ^~~~~~~~~ src/client/ui/node/ui_node_rows.cpp: In member function ‘virtual void uiRowsNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:62:13: note: in expansion of macro ‘EXTRADATA’ 62 | if (EXTRADATA(node).lineHeight == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:63:17: note: in expansion of macro ‘EXTRADATA’ 63 | EXTRADATA(node).lineHeight = 10; | ^~~~~~~~~ src/client/ui/node/ui_node_rows.cpp: In function ‘void UI_RegisterRowsNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:78:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 78 | UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, rowsExtraData_t, lineHeight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:80:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 80 | UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, rowsExtraData_t, current); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_selectbox.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_selectbox.cpp.o src/client/ui/node/ui_node_selectbox.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_selectbox.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_selectbox.cpp:46: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_selectbox.cpp:47: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:82:81: note: in expansion of macro ‘EXTRADATA’ 82 | if (x < 0 || y < 0 || x > node->box.size[0] || y > node->box.size[1] * (EXTRADATA(node).count + 1)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:90:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 90 | OPTIONEXTRADATA(option).hovered = (posy <= y && y < posy + node->box.size[1]); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:133:30: note: in expansion of macro ‘OPTIONEXTRADATA’ 133 | if (!Q_streq(OPTIONEXTRADATA(option).value, ref)) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:139:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 139 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::drawOverWindow(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:184:119: note: in expansion of macro ‘EXTRADATA’ 184 | UI_DrawNormImage(false, nodepos[0], nodepos[1] + node->box.size[1], SELECTBOX_SIDE_WIDTH, node->box.size[1] * EXTRADATA(node).count, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:188:183: note: in expansion of macro ‘EXTRADATA’ 188 | UI_DrawNormImage(false, nodepos[0] + SELECTBOX_SIDE_WIDTH, nodepos[1] + node->box.size[1], node->box.size[0] -SELECTBOX_SIDE_WIDTH-SELECTBOX_RIGHT_WIDTH, node->box.size[1] * EXTRADATA(node).count, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:192:183: note: in expansion of macro ‘EXTRADATA’ 192 | UI_DrawNormImage(false, nodepos[0] + node->box.size[0] -SELECTBOX_SIDE_WIDTH-SELECTBOX_RIGHT_WIDTH, nodepos[1] + node->box.size[1], SELECTBOX_SIDE_WIDTH, node->box.size[1] * EXTRADATA(node).count, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:201:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 201 | if (OPTIONEXTRADATA(option).hovered) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:205:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 205 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:215:22: note: in expansion of macro ‘EXTRADATA’ 215 | if (check != EXTRADATA(node).count) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:218:17: note: in expansion of macro ‘EXTRADATA’ 218 | EXTRADATA(node).versionId = 0; | ^~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:255:111: note: in expansion of macro ‘EXTRADATA’ 255 | if (x < pos[0] || y < pos[1] || x >= pos[0] + node->box.size[0] || y >= pos[1] + node->box.size[1] * (EXTRADATA(node).count + 1)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:267:55: note: in expansion of macro ‘EXTRADATA’ 267 | if (clickedAtOption < 0 || clickedAtOption >= EXTRADATA(node).count) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:285:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 285 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_sequence.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_sequence.cpp.o src/client/ui/node/ui_node_sequence.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_sequence.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_sequence.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_sequence.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:49:13: note: in expansion of macro ‘EXTRADATA’ 49 | if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:49:51: note: in expansion of macro ‘EXTRADATA’ 49 | if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:60:29: note: in expansion of macro ‘EXTRADATA’ 60 | SEQ_SetView(EXTRADATA(node).context, pos, node->box.size); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:61:40: note: in expansion of macro ‘EXTRADATA’ 61 | finished = !SEQ_Render(EXTRADATA(node).context); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:66:33: note: in expansion of macro ‘EXTRADATA’ 66 | if (finished && EXTRADATA(node).onEnd) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:67:54: note: in expansion of macro ‘EXTRADATA’ 67 | UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:68:25: note: in expansion of macro ‘EXTRADATA’ 68 | EXTRADATA(node).playing = true; | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:75:13: note: in expansion of macro ‘EXTRADATA’ 75 | if (EXTRADATA(node).context == nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:76:17: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).context = SEQ_AllocContext(); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:77:13: note: in expansion of macro ‘EXTRADATA’ 77 | if (EXTRADATA(node).source != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:78:33: note: in expansion of macro ‘EXTRADATA’ 78 | SEQ_InitContext(EXTRADATA(node).context, EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:78:58: note: in expansion of macro ‘EXTRADATA’ 78 | SEQ_InitContext(EXTRADATA(node).context, EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:79:17: note: in expansion of macro ‘EXTRADATA’ 79 | EXTRADATA(node).playing = true; | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onWindowClosed(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:85:13: note: in expansion of macro ‘EXTRADATA’ 85 | if (EXTRADATA(node).context != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:86:33: note: in expansion of macro ‘EXTRADATA’ 86 | SEQ_FreeContext(EXTRADATA(node).context); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:87:17: note: in expansion of macro ‘EXTRADATA’ 87 | EXTRADATA(node).context = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:89:9: note: in expansion of macro ‘EXTRADATA’ 89 | EXTRADATA(node).playing = false; | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:94:13: note: in expansion of macro ‘EXTRADATA’ 94 | if (EXTRADATA(node).context != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:95:36: note: in expansion of macro ‘EXTRADATA’ 95 | SEQ_SendClickEvent(EXTRADATA(node).context); | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onPropertyChanged(uiNode_t*, const value_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:102:21: note: in expansion of macro ‘EXTRADATA’ 102 | if (EXTRADATA(node).source != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:104:28: note: in expansion of macro ‘EXTRADATA’ 104 | } else if (EXTRADATA(node).context != nullptr) { | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In function ‘void UI_RegisterSequenceNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:120:26: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 120 | propertySource = UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:123:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 123 | UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_special.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_special.cpp.o src/client/ui/node/ui_node_special.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_special.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../cl_shared.h:28, from src/client/ui/node/ui_node_special.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../../common/common.h:184: src/client/ui/node/../../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = uiAction_s*; value_t = value_s]’: src/client/ui/node/ui_node_special.cpp:43:49: required from here src/client/ui/node/../../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uiAction_s**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_spinner.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_spinner.cpp.o src/client/ui/node/ui_node_spinner.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_spinner.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_spinner.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_spinner.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In member function ‘bool uiSpinnerNode::isPositionIncrease(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:102:32: note: in expansion of macro ‘EXTRADATA’ 102 | switch ((spinnerMode_t)EXTRADATA(node).mode) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:108:21: note: in expansion of macro ‘EXTRADATA’ 108 | if (EXTRADATA(node).horizontal) | ^~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In member function ‘virtual void uiSpinnerNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:126:21: note: in expansion of macro ‘EXTRADATA’ 126 | if (EXTRADATA(node).inverted) | ^~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In member function ‘virtual void uiSpinnerNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:206:29: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).inverted) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:212:29: note: in expansion of macro ‘EXTRADATA’ 212 | if (EXTRADATA(node).inverted) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:219:13: note: in expansion of macro ‘EXTRADATA’ 219 | if (EXTRADATA(node).background) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:220:43: note: in expansion of macro ‘EXTRADATA’ 220 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, status, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:221:14: note: in expansion of macro ‘EXTRADATA’ 221 | if (!EXTRADATA(node).horizontal) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:222:21: note: in expansion of macro ‘EXTRADATA’ 222 | if (EXTRADATA(node).topIcon) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:223:51: note: in expansion of macro ‘EXTRADATA’ 223 | UI_DrawSpriteInBox(false, EXTRADATA(node).topIcon, topStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:224:21: note: in expansion of macro ‘EXTRADATA’ 224 | if (EXTRADATA(node).bottomIcon) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:225:51: note: in expansion of macro ‘EXTRADATA’ 225 | UI_DrawSpriteInBox(false, EXTRADATA(node).bottomIcon, bottomStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:227:21: note: in expansion of macro ‘EXTRADATA’ 227 | if (EXTRADATA(node).topIcon) /* Top becomes right */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:228:51: note: in expansion of macro ‘EXTRADATA’ 228 | UI_DrawSpriteInBox(false, EXTRADATA(node).topIcon, topStatus, pos[0] + node->box.size[0] / 2, pos[1], node->box.size[0] / 2, node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:229:21: note: in expansion of macro ‘EXTRADATA’ 229 | if (EXTRADATA(node).bottomIcon) /* Bottom becomes left */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:230:51: note: in expansion of macro ‘EXTRADATA’ 230 | UI_DrawSpriteInBox(false, EXTRADATA(node).bottomIcon, bottomStatus, pos[0], pos[1], node->box.size[0] / 2, node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In function ‘void UI_RegisterSpinnerNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:249:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 249 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:254:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 254 | UI_RegisterExtradataNodeProperty(behaviour, "topIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, topIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:259:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 259 | UI_RegisterExtradataNodeProperty(behaviour, "bottomIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, bottomIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:267:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 267 | UI_RegisterExtradataNodeProperty(behaviour, "mode", V_INT, EXTRADATA_TYPE, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:272:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 272 | UI_RegisterExtradataNodeProperty(behaviour, "horizontal", V_BOOL, EXTRADATA_TYPE, horizontal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:277:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 277 | UI_RegisterExtradataNodeProperty(behaviour, "inverted", V_BOOL, EXTRADATA_TYPE, inverted); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_string.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_string.cpp.o src/client/ui/node/ui_node_string.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_string.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_string.cpp:47: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_string.cpp:52: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_string.cpp: In member function ‘virtual void uiStringNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:81:248: note: in expansion of macro ‘EXTRADATA’ 81 | UI_DrawStringInBox(font, (align_t)node->contentAlign, nodepos[0] + node->padding, nodepos[1] + node->padding, node->box.size[0] - node->padding - node->padding, node->box.size[1] - node->padding - node->padding, ref, (longlines_t) EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/ui_node_string.cpp: In member function ‘virtual void uiStringNode::drawTooltip(const uiNode_t*, int, int) const’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:58:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 58 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:104:52: note: in expansion of macro ‘EXTRADATACONST’ 104 | const longlines_t longLines = (longlines_t)EXTRADATACONST(node).longlines; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp: In member function ‘virtual void uiStringNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:120:9: note: in expansion of macro ‘EXTRADATA’ 120 | EXTRADATA(node).longlines = LONGLINES_PRETTYCHOP; | ^~~~~~~~~ src/client/ui/node/ui_node_string.cpp: In function ‘void UI_RegisterStringNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:132:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 132 | UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, EXTRADATA_TYPE, longlines); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_tab.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_tab.cpp.o src/client/ui/node/ui_node_tab.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_tab.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_tab.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_tab.cpp:34: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_tab.cpp: In function ‘uiNode_t* UI_TabNodeTabAtPosition(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:45:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 45 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:78:58: note: in expansion of macro ‘EXTRADATACONST’ 78 | allowedWidth = node->box.size[0] - TILE_WIDTH * (EXTRADATACONST(node).count + 1); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:98:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 98 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:101:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 101 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:101:53: note: in expansion of macro ‘OPTIONEXTRADATA’ 101 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:102:37: note: in expansion of macro ‘OPTIONEXTRADATA’ 102 | tabWidth += OPTIONEXTRADATA(option).icon->size[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:142:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 142 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:206:58: note: in expansion of macro ‘EXTRADATA’ 206 | allowedWidth = node->box.size[0] - TILE_WIDTH * (EXTRADATA(node).count + 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:224:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 224 | if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:236:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 236 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:240:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 240 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:240:53: note: in expansion of macro ‘OPTIONEXTRADATA’ 240 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:241:37: note: in expansion of macro ‘OPTIONEXTRADATA’ 241 | tabWidth += OPTIONEXTRADATA(option).icon->size[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 261 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:78: note: in expansion of macro ‘OPTIONEXTRADATA’ 261 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:138: note: in expansion of macro ‘OPTIONEXTRADATA’ 261 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:262:36: note: in expansion of macro ‘OPTIONEXTRADATA’ 262 | textPos += OPTIONEXTRADATA(option).icon->size[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:266:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 266 | OPTIONEXTRADATA(option).truncated = tabWidth < fontWidth || tabWidth == 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::drawTooltip(const uiNode_t*, int, int) const’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:299:14: note: in expansion of macro ‘OPTIONEXTRADATA’ 299 | if (!OPTIONEXTRADATA(option).truncated) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:302:42: note: in expansion of macro ‘OPTIONEXTRADATA’ 302 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:313:15: note: in expansion of macro ‘EXTRADATA’ 313 | if (!(EXTRADATA(node).cvar)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:317:49: note: in expansion of macro ‘EXTRADATA’ 317 | char const* const cvarName = Q_strstart(EXTRADATA(node).cvar, "*cvar:"); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:320:126: note: in expansion of macro ‘EXTRADATA’ 320 | Com_Printf("UI_TabNodeInit: node '%s' doesn't have a valid cvar assigned (\"%s\" read)\n", UI_GetPath(node), EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:321:17: note: in expansion of macro ‘EXTRADATA’ 321 | EXTRADATA(node).cvar = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:330:41: note: in expansion of macro ‘OPTIONEXTRADATA’ 330 | Cvar_ForceSet(cvarName, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_tbar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_tbar.cpp.o src/client/ui/node/ui_node_tbar.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_tbar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_tbar.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_tbar.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_tbar.cpp: In member function ‘virtual void uiTBarNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:44:55: note: in expansion of macro ‘EXTRADATA’ 44 | const char* ref = UI_GetReferenceString(node, EXTRADATA(node).image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:65:23: note: in expansion of macro ‘EXTRADATA’ 65 | shx = EXTRADATA(node).texl[0]; /* left gap to the texture */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:22: note: in expansion of macro ‘EXTRADATA’ 72 | shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:47: note: in expansion of macro ‘EXTRADATA’ 72 | shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:72: note: in expansion of macro ‘EXTRADATA’ 72 | shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); | ^~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp: In function ‘void UI_RegisterTBarNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:85:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 85 | UI_RegisterExtradataNodeProperty(behaviour, "image", V_CVAR_OR_STRING, EXTRADATA_TYPE, image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:88:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 88 | UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:90:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 90 | UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_text.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_text.cpp.o src/client/ui/node/ui_node_text.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_text.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_text.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_text.cpp: In member function ‘void uiTextNode::validateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:51:13: note: in expansion of macro ‘EXTRADATA’ 51 | if (EXTRADATA(node).dataID == TEXT_NULL || node->text != nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:54:31: note: in expansion of macro ‘EXTRADATA’ 54 | v = UI_GetDataVersion(EXTRADATA(node).dataID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:55:18: note: in expansion of macro ‘EXTRADATA’ 55 | if (v != EXTRADATA(node).versionId) { | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘const char* UI_TextNodeGetSelectedText(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:62:47: note: in expansion of macro ‘EXTRADATA’ 62 | const char* text = UI_GetTextFromList(EXTRADATA(node).dataID, num); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘void UI_TextNodeSelectLine(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:73:13: note: in expansion of macro ‘EXTRADATA’ 73 | if (EXTRADATA(node).textLineSelected == num) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:75:9: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).textLineSelected = num; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:76:9: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, num); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘void UI_TextScrollEnd(const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:101:13: note: in expansion of macro ‘EXTRADATA’ 101 | if (EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:101:54: note: in expansion of macro ‘EXTRADATA’ 101 | if (EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:17: note: in expansion of macro ‘EXTRADATA’ 102 | EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:57: note: in expansion of macro ‘EXTRADATA’ 102 | EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:98: note: in expansion of macro ‘EXTRADATA’ 102 | EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:103:46: note: in expansion of macro ‘EXTRADATA’ 103 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘int UI_TextNodeGetLine(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:120:22: note: in expansion of macro ‘EXTRADATACONST’ 120 | lineHeight = EXTRADATACONST(node).lineHeight; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:132:41: note: in expansion of macro ‘EXTRADATACONST’ 132 | line = (int) (y / lineHeight) + EXTRADATACONST(node).super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:135:21: note: in expansion of macro ‘EXTRADATACONST’ 135 | if (line >= EXTRADATACONST(node).super.scrollY.fullSize) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:143:9: note: in expansion of macro ‘EXTRADATA’ 143 | EXTRADATA(node).lineUnderMouse = UI_TextNodeGetLine(node, x, y); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘void uiTextNode::drawText(uiNode_t*, const char*, const linkedList_t*, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:173:34: note: in expansion of macro ‘EXTRADATA’ 173 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:180:29: note: in expansion of macro ‘EXTRADATA’ 180 | viewSizeY = EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:250:34: note: in expansion of macro ‘EXTRADATA’ 250 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:250:70: note: in expansion of macro ‘EXTRADATA’ 250 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:257:36: note: in expansion of macro ‘EXTRADATA’ 257 | if (node->state && EXTRADATA(node).mousefx && fullSizeY == EXTRADATA(node).lineUnderMouse) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:257:76: note: in expansion of macro ‘EXTRADATA’ 257 | if (node->state && EXTRADATA(node).mousefx && fullSizeY == EXTRADATA(node).lineUnderMouse) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:260:42: note: in expansion of macro ‘EXTRADATA’ 260 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:260:78: note: in expansion of macro ‘EXTRADATA’ 260 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:277:38: note: in expansion of macro ‘EXTRADATA’ 277 | if (!EXTRADATA(node).tabWidth) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:280:52: note: in expansion of macro ‘EXTRADATA’ 280 | tabwidth = EXTRADATA(node).tabWidth; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:303:115: note: in expansion of macro ‘EXTRADATA’ 303 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x1, tabwidth - 1, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, false, LONGLINES_PRETTYCHOP); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:303:159: note: in expansion of macro ‘EXTRADATA’ 303 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x1, tabwidth - 1, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, false, LONGLINES_PRETTYCHOP); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:322:87: note: in expansion of macro ‘EXTRADATA’ 322 | R_FontTextSize(font, cur, width, (longlines_t)EXTRADATA(node).longlines, nullptr, nullptr, &lines, nullptr); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:107: note: in expansion of macro ‘EXTRADATA’ 325 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:151: note: in expansion of macro ‘EXTRADATA’ 325 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:221: note: in expansion of macro ‘EXTRADATA’ 325 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:329:21: note: in expansion of macro ‘EXTRADATA’ 329 | if (EXTRADATA(node).mousefx) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::updateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:353:13: note: in expansion of macro ‘EXTRADATA’ 353 | if (EXTRADATA(node).dataID == TEXT_NULL && node->text != nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:356:40: note: in expansion of macro ‘EXTRADATA’ 356 | shared = &ui_global.sharedData[EXTRADATA(node).dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:372:9: note: in expansion of macro ‘EXTRADATA’ 372 | EXTRADATA(node).versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:382:13: note: in expansion of macro ‘EXTRADATA’ 382 | if (EXTRADATA(node).dataID == TEXT_NULL && node->text != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:388:40: note: in expansion of macro ‘EXTRADATA’ 388 | shared = &ui_global.sharedData[EXTRADATA(node).dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:404:9: note: in expansion of macro ‘EXTRADATA’ 404 | EXTRADATA(node).versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:415:33: note: in expansion of macro ‘EXTRADATA’ 415 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:432:33: note: in expansion of macro ‘EXTRADATA’ 432 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:469:9: note: in expansion of macro ‘EXTRADATA’ 469 | EXTRADATA(node).textLineSelected = -1; /**< Invalid/no line selected per default. */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:470:9: note: in expansion of macro ‘EXTRADATA’ 470 | EXTRADATA(node).textSelected = ""; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:477:26: note: in expansion of macro ‘EXTRADATA’ 477 | int lineheight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:487:13: note: in expansion of macro ‘EXTRADATA’ 487 | if (EXTRADATA(node).super.scrollY.viewSize == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:489:25: note: in expansion of macro ‘EXTRADATA’ 489 | EXTRADATA(node).super.scrollY.viewSize = node->box.size[1] / lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:491:25: note: in expansion of macro ‘EXTRADATA’ 491 | EXTRADATA(node).super.scrollY.viewSize = 1; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:498:37: note: in expansion of macro ‘EXTRADATA’ 498 | node->box.size[1] = EXTRADATA(node).super.scrollY.viewSize * lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:502:13: note: in expansion of macro ‘EXTRADATA’ 502 | if (EXTRADATA(node).dataID >= UI_MAX_DATAID) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:503:128: note: in expansion of macro ‘EXTRADATA’ 503 | Com_Error(ERR_DROP, "Error in node %s - max shared data id num exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).dataID, UI_MAX_DATAID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:512:38: note: in expansion of macro ‘EXTRADATA’ 512 | if (node->text == nullptr && EXTRADATA(node).dataID == TEXT_NULL) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:523:17: note: in expansion of macro ‘EXTRADATA’ 523 | EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:523:58: note: in expansion of macro ‘EXTRADATA’ 523 | EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual int uiTextNode::getCellHeight(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:557:26: note: in expansion of macro ‘EXTRADATA’ 557 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘void UI_RegisterTextNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:571:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 571 | UI_RegisterExtradataNodeProperty(behaviour, "lineselected", V_INT, textExtraData_t, textLineSelected); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:574:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 574 | UI_RegisterExtradataNodeProperty(behaviour, "textselected", V_CVAR_OR_STRING, textExtraData_t, textSelected); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:583:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 583 | UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, textExtraData_t, dataID); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:585:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 585 | UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, textExtraData_t, lineHeight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:587:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 587 | UI_RegisterExtradataNodeProperty(behaviour, "tabwidth", V_INT, textExtraData_t, tabWidth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:591:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 591 | UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, textExtraData_t, longlines); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:597:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 597 | UI_RegisterExtradataNodeProperty(behaviour, "rows", V_INT, textExtraData_t, super.scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:602:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 602 | UI_RegisterExtradataNodeProperty(behaviour, "lines", V_INT, textExtraData_t, super.scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:607:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 607 | UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, textExtraData_t, mousefx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_text2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_text2.cpp.o src/client/ui/node/ui_node_text2.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_text2.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text2.cpp:27: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_text2.cpp:28: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_text2.cpp: In function ‘void UI_TextNodeGenerateLineSplit(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:50:22: note: in expansion of macro ‘EXTRADATA’ 50 | LIST_Delete(&EXTRADATA(node).lineSplit); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:54:18: note: in expansion of macro ‘EXTRADATA’ 54 | else if (EXTRADATA(node).super.dataID != TEXT_NULL) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:56:48: note: in expansion of macro ‘EXTRADATA’ 56 | shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:59:43: note: in expansion of macro ‘EXTRADATA’ 59 | data = UI_GetText(EXTRADATA(node).super.dataID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:86:33: note: in expansion of macro ‘EXTRADATA’ 86 | LIST_AddString(&EXTRADATA(node).lineSplit, buffer); | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In function ‘int UI_TextNodeGetLine(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:109:22: note: in expansion of macro ‘EXTRADATACONST’ 109 | lineHeight = EXTRADATACONST(node).super.lineHeight; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:121:41: note: in expansion of macro ‘EXTRADATACONST’ 121 | line = (int) (y / lineHeight) + EXTRADATACONST(node).super.super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:124:21: note: in expansion of macro ‘EXTRADATACONST’ 124 | if (line >= EXTRADATACONST(node).super.super.scrollY.fullSize) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:132:9: note: in expansion of macro ‘EXTRADATA’ 132 | EXTRADATA(node).super.lineUnderMouse = UI_TextNodeGetLine(node, x, y); | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘void uiText2Node::drawText(uiNode_t*, const linkedList_t*, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:156:34: note: in expansion of macro ‘EXTRADATA’ 156 | int lineHeight = EXTRADATA(node).super.lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:163:29: note: in expansion of macro ‘EXTRADATA’ 163 | viewSizeY = EXTRADATA(node).super.super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:215:79: note: in expansion of macro ‘EXTRADATA’ 215 | R_FontTextSize(font, cur, width, (longlines_t)EXTRADATA(node).super.longlines, nullptr, nullptr, &lines, nullptr); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:99: note: in expansion of macro ‘EXTRADATA’ 218 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:149: note: in expansion of macro ‘EXTRADATA’ 218 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:225: note: in expansion of macro ‘EXTRADATA’ 218 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::updateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:236:13: note: in expansion of macro ‘EXTRADATA’ 236 | if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:237:32: note: in expansion of macro ‘EXTRADATA’ 237 | drawText(node, EXTRADATA(node).lineSplit, true); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:241:40: note: in expansion of macro ‘EXTRADATA’ 241 | shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:246:32: note: in expansion of macro ‘EXTRADATA’ 246 | drawText(node, EXTRADATA(node).lineSplit, true); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:249:9: note: in expansion of macro ‘EXTRADATA’ 249 | EXTRADATA(node).super.versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:261:13: note: in expansion of macro ‘EXTRADATA’ 261 | if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:262:32: note: in expansion of macro ‘EXTRADATA’ 262 | drawText(node, EXTRADATA(node).lineSplit, false); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:266:40: note: in expansion of macro ‘EXTRADATA’ 266 | shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:270:32: note: in expansion of macro ‘EXTRADATA’ 270 | drawText(node, EXTRADATA(node).lineSplit, false); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:279:9: note: in expansion of macro ‘EXTRADATA’ 279 | EXTRADATA(node).super.versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:290:33: note: in expansion of macro ‘EXTRADATA’ 290 | if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:307:33: note: in expansion of macro ‘EXTRADATA’ 307 | if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:318:9: note: in expansion of macro ‘EXTRADATA’ 318 | EXTRADATA(node).super.textLineSelected = -1; /**< Invalid/no line selected per default. */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:319:9: note: in expansion of macro ‘EXTRADATA’ 319 | EXTRADATA(node).super.textSelected = ""; | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:326:26: note: in expansion of macro ‘EXTRADATA’ 326 | int lineheight = EXTRADATA(node).super.lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:336:13: note: in expansion of macro ‘EXTRADATA’ 336 | if (EXTRADATA(node).super.super.scrollY.viewSize == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:338:25: note: in expansion of macro ‘EXTRADATA’ 338 | EXTRADATA(node).super.super.scrollY.viewSize = node->box.size[1] / lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:340:25: note: in expansion of macro ‘EXTRADATA’ 340 | EXTRADATA(node).super.super.scrollY.viewSize = 1; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:347:37: note: in expansion of macro ‘EXTRADATA’ 347 | node->box.size[1] = EXTRADATA(node).super.super.scrollY.viewSize * lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:351:13: note: in expansion of macro ‘EXTRADATA’ 351 | if (EXTRADATA(node).super.dataID >= UI_MAX_DATAID) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:352:124: note: in expansion of macro ‘EXTRADATA’ 352 | Com_Error(ERR_DROP, "Error in node %s - max shared data id exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).super.dataID, UI_MAX_DATAID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:361:38: note: in expansion of macro ‘EXTRADATA’ 361 | if (node->text == nullptr && EXTRADATA(node).super.dataID == TEXT_NULL) | ^~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_textentry.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_textentry.cpp.o src/client/ui/node/ui_node_textentry.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_textentry.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textentry.cpp:32: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_textentry.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_textentry.cpp: In function ‘void UI_TextEntryNodeAbortEdition(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:101:13: note: in expansion of macro ‘EXTRADATA’ 101 | if (EXTRADATA(node).onAbort) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:102:46: note: in expansion of macro ‘EXTRADATA’ 102 | UI_ExecuteEventActions(node, EXTRADATA(node).onAbort); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual void uiTextEntryNode::onFocusGained(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:152:9: note: in expansion of macro ‘EXTRADATA’ 152 | EXTRADATA(node).cursorPosition = UTF8_strlen(editedCvar->string); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual void uiTextEntryNode::onFocusLost(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:182:26: note: in expansion of macro ‘EXTRADATA’ 182 | if (isAborted || EXTRADATA(node).clickOutAbort) { | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In function ‘void UI_TextEntryNodeEdit(uiNode_t*, unsigned int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:204:21: note: in expansion of macro ‘EXTRADATA’ 204 | if (EXTRADATA(node).cursorPosition > 0){ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:205:53: note: in expansion of macro ‘EXTRADATA’ 205 | UTF8_delete_char_at(buffer, EXTRADATA(node).cursorPosition - 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:206:25: note: in expansion of macro ‘EXTRADATA’ 206 | EXTRADATA(node).cursorPosition--; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:209:21: note: in expansion of macro ‘EXTRADATA’ 209 | if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string)){ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:210:53: note: in expansion of macro ‘EXTRADATA’ 210 | UTF8_delete_char_at(buffer, EXTRADATA(node).cursorPosition); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:220:82: note: in expansion of macro ‘EXTRADATA’ 220 | int insertedLength = UTF8_insert_char_at(buffer, sizeof(buffer), EXTRADATA(node).cursorPosition, unicode); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:222:25: note: in expansion of macro ‘EXTRADATA’ 222 | EXTRADATA(node).cursorPosition++; | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual bool uiTextEntryNode::onKeyPressed(uiNode_t*, unsigned int, short unsigned int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:253:21: note: in expansion of macro ‘EXTRADATA’ 253 | if (EXTRADATA(node).cursorPosition > 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:254:25: note: in expansion of macro ‘EXTRADATA’ 254 | EXTRADATA(node).cursorPosition--; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:258:21: note: in expansion of macro ‘EXTRADATA’ 258 | if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:259:25: note: in expansion of macro ‘EXTRADATA’ 259 | EXTRADATA(node).cursorPosition++; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:263:17: note: in expansion of macro ‘EXTRADATA’ 263 | EXTRADATA(node).cursorPosition = 0; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:267:17: note: in expansion of macro ‘EXTRADATA’ 267 | EXTRADATA(node).cursorPosition = UTF8_strlen(editedCvar->string); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual void uiTextEntryNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:308:13: note: in expansion of macro ‘EXTRADATA’ 308 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:309:43: note: in expansion of macro ‘EXTRADATA’ 309 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:314:21: note: in expansion of macro ‘EXTRADATA’ 314 | if (EXTRADATA(node).isPassword) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:330:71: note: in expansion of macro ‘EXTRADATA’ 330 | UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_ON); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:332:71: note: in expansion of macro ‘EXTRADATA’ 332 | UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_OFF); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In function ‘void UI_RegisterTextEntryNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:375:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 375 | UI_RegisterExtradataNodeProperty(behaviour, "isPassword", V_BOOL, textEntryExtraData_t, isPassword); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:379:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 379 | UI_RegisterExtradataNodeProperty(behaviour, "clickOutAbort", V_BOOL, textEntryExtraData_t, clickOutAbort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:381:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 381 | UI_RegisterExtradataNodeProperty(behaviour, "cursorPosition", V_INT, textEntryExtraData_t, cursorPosition); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:383:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 383 | UI_RegisterExtradataNodeProperty(behaviour, "onAbort", V_UI_ACTION, textEntryExtraData_t, onAbort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:387:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 387 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_textlist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_textlist.cpp.o src/client/ui/node/ui_node_textlist.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_textlist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textlist.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_textlist.cpp:26: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_textlist.cpp: In function ‘int UI_TextListNodeGetLine(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, textExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:51:26: note: in expansion of macro ‘EXTRADATACONST’ 51 | int lineHeight = EXTRADATACONST(node).lineHeight; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, textExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:59:41: note: in expansion of macro ‘EXTRADATACONST’ 59 | return (int) (y / lineHeight) + EXTRADATACONST(node).super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:64:9: note: in expansion of macro ‘EXTRADATA’ 64 | EXTRADATA(node).lineUnderMouse = UI_TextListNodeGetLine(node, x, y); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘void uiTextListNode::drawText(uiNode_t*, const linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:84:22: note: in expansion of macro ‘EXTRADATA’ 84 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:91:29: note: in expansion of macro ‘EXTRADATA’ 91 | viewSizeY = EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:106:32: note: in expansion of macro ‘EXTRADATA’ 106 | while (list && count < EXTRADATA(node).super.scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:120:30: note: in expansion of macro ‘EXTRADATA’ 120 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:120:66: note: in expansion of macro ‘EXTRADATA’ 120 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:126:45: note: in expansion of macro ‘EXTRADATA’ 126 | if (node->state && count == EXTRADATA(node).lineUnderMouse) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:127:38: note: in expansion of macro ‘EXTRADATA’ 127 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:127:74: note: in expansion of macro ‘EXTRADATA’ 127 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:161:40: note: in expansion of macro ‘EXTRADATA’ 161 | shared = &ui_global.sharedData[EXTRADATA(node).dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:167:98: note: in expansion of macro ‘EXTRADATA’ 167 | Com_Printf("UI_TextListNodeDraw: Only linkedlist text supported (dataid %d).\n", EXTRADATA(node).dataID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:168:30: note: in expansion of macro ‘EXTRADATA’ 168 | UI_ResetData(EXTRADATA(node).dataID); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:183:33: note: in expansion of macro ‘EXTRADATA’ 183 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:186:21: note: in expansion of macro ‘EXTRADATA’ 186 | if (line != EXTRADATA(node).textLineSelected) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:187:17: note: in expansion of macro ‘EXTRADATA’ 187 | EXTRADATA(node).textLineSelected = line; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:188:17: note: in expansion of macro ‘EXTRADATA’ 188 | EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, line); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:205:33: note: in expansion of macro ‘EXTRADATA’ 205 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:208:21: note: in expansion of macro ‘EXTRADATA’ 208 | if (line != EXTRADATA(node).textLineSelected) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:209:17: note: in expansion of macro ‘EXTRADATA’ 209 | EXTRADATA(node).textLineSelected = line; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:210:17: note: in expansion of macro ‘EXTRADATA’ 210 | EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, line); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:221:9: note: in expansion of macro ‘EXTRADATA’ 221 | EXTRADATA(node).textLineSelected = -1; /**< Invalid/no line selected per default. */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:222:9: note: in expansion of macro ‘EXTRADATA’ 222 | EXTRADATA(node).textSelected = ""; | ^~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_texture.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_texture.cpp.o src/client/ui/node/ui_node_texture.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_texture.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_texture.cpp:34: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_texture.cpp:37: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_timer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_timer.cpp.o src/client/ui/node/ui_node_timer.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_timer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_parse.h:27, from src/client/ui/node/ui_node_timer.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_timer.cpp:28: src/client/ui/node/ui_node_timer.cpp: In member function ‘virtual void uiTimerNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:40:9: note: in expansion of macro ‘EXTRADATA’ 40 | EXTRADATA(node).lastTime = CL_Milliseconds(); | ^~~~~~~~~ src/client/ui/node/ui_node_timer.cpp: In member function ‘virtual void uiTimerNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:53:34: note: in expansion of macro ‘EXTRADATA’ 53 | timerExtraData_t& data = EXTRADATA(node); | ^~~~~~~~~ src/client/ui/node/ui_node_timer.cpp: In function ‘void UI_RegisterTimerNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:77:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 77 | UI_RegisterExtradataNodeProperty(behaviour, "timeout", V_INT, EXTRADATA_TYPE, timeOut); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:80:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 80 | UI_RegisterExtradataNodeProperty(behaviour, "onEvent", V_UI_ACTION, EXTRADATA_TYPE, onTimeOut); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_todo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_todo.cpp.o src/client/ui/node/ui_node_todo.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_todo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_todo.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_todo.cpp:31: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_video.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_video.cpp.o src/client/ui/node/ui_node_video.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_video.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_video.cpp:31: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_video.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::drawOverWindow(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:48:13: note: in expansion of macro ‘EXTRADATA’ 48 | if (EXTRADATA(node).cin.status == CIN_STATUS_INVALID) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:53:13: note: in expansion of macro ‘EXTRADATA’ 53 | if (EXTRADATA(node).cin.status == CIN_STATUS_NONE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.h:41:38: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define UI_VIDEOEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_VIDEOEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:55:32: note: in expansion of macro ‘UI_VIDEOEXTRADATACONST’ 55 | bool nosound = UI_VIDEOEXTRADATACONST(node).nosound; | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:57:37: note: in expansion of macro ‘EXTRADATA’ 57 | CIN_OpenCinematic(&(EXTRADATA(node).cin), va("videos/%s", EXTRADATA(node).source)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:57:75: note: in expansion of macro ‘EXTRADATA’ 57 | CIN_OpenCinematic(&(EXTRADATA(node).cin), va("videos/%s", EXTRADATA(node).source)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:58:21: note: in expansion of macro ‘EXTRADATA’ 58 | if (EXTRADATA(node).cin.status == CIN_STATUS_INVALID) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:59:54: note: in expansion of macro ‘EXTRADATA’ 59 | UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:64:37: note: in expansion of macro ‘EXTRADATA’ 64 | CIN_SetParameters(&(EXTRADATA(node).cin), pos[0], pos[1], node->box.size[0], node->box.size[1], CIN_STATUS_PLAYING, nosound); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:67:13: note: in expansion of macro ‘EXTRADATA’ 67 | if (EXTRADATA(node).cin.status == CIN_STATUS_PLAYING || EXTRADATA(node).cin.status == CIN_STATUS_PAUSE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:67:65: note: in expansion of macro ‘EXTRADATA’ 67 | if (EXTRADATA(node).cin.status == CIN_STATUS_PLAYING || EXTRADATA(node).cin.status == CIN_STATUS_PAUSE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:69:36: note: in expansion of macro ‘EXTRADATA’ 69 | CIN_RunCinematic(&(EXTRADATA(node).cin)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:70:21: note: in expansion of macro ‘EXTRADATA’ 70 | if (EXTRADATA(node).cin.status == CIN_STATUS_NONE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:71:54: note: in expansion of macro ‘EXTRADATA’ 71 | UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:78:14: note: in expansion of macro ‘EXTRADATA’ 78 | if (!EXTRADATA(node).source) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:81:13: note: in expansion of macro ‘EXTRADATA’ 81 | if (EXTRADATA(node).cin.fullScreen) { | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:91:29: note: in expansion of macro ‘EXTRADATA’ 91 | CIN_InitCinematic(&(EXTRADATA(node).cin)); | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::onWindowClosed(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:97:30: note: in expansion of macro ‘EXTRADATA’ 97 | CIN_CloseCinematic(&(EXTRADATA(node).cin)); | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In function ‘void UI_RegisterVideoNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:107:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 107 | UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:109:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 109 | UI_RegisterExtradataNodeProperty(behaviour, "nosound", V_BOOL, EXTRADATA_TYPE, nosound); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:111:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 111 | UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_vscrollbar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_vscrollbar.cpp.o src/client/ui/node/ui_node_vscrollbar.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_vscrollbar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_vscrollbar.cpp:27: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_vscrollbar.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeGetElementSize(uiNode_t*, int*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:59:49: note: in expansion of macro ‘EXTRADATA’ 59 | const int low = cuttableSize * ((float)(EXTRADATA(node).pos + 0) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:59:83: note: in expansion of macro ‘EXTRADATA’ 59 | const int low = cuttableSize * ((float)(EXTRADATA(node).pos + 0) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:60:52: note: in expansion of macro ‘EXTRADATA’ 60 | const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:60:87: note: in expansion of macro ‘EXTRADATA’ 60 | const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeSet(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:97:26: note: in expansion of macro ‘EXTRADATA’ 97 | } else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:97:53: note: in expansion of macro ‘EXTRADATA’ 97 | } else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:98:23: note: in expansion of macro ‘EXTRADATA’ 98 | pos = EXTRADATA(node).fullsize - EXTRADATA(node).viewsize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:98:50: note: in expansion of macro ‘EXTRADATA’ 98 | pos = EXTRADATA(node).fullsize - EXTRADATA(node).viewsize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:104:13: note: in expansion of macro ‘EXTRADATA’ 104 | if (EXTRADATA(node).pos == pos) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:108:9: note: in expansion of macro ‘EXTRADATA’ 108 | EXTRADATA(node).pos = pos; | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeDiff(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:121:36: note: in expansion of macro ‘EXTRADATA’ 121 | UI_VScrollbarNodeSet(node, EXTRADATA(node).pos + value); | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeAction(uiNode_t*, int, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:163:34: note: in expansion of macro ‘EXTRADATA’ 163 | oldPos = EXTRADATA(node).pos; | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:13: note: in expansion of macro ‘EXTRADATA’ 193 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:46: note: in expansion of macro ‘EXTRADATA’ 193 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:73: note: in expansion of macro ‘EXTRADATA’ 193 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::onMouseUp(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:13: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:46: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:73: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual bool uiVScrollbarNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:13: note: in expansion of macro ‘EXTRADATA’ 235 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:46: note: in expansion of macro ‘EXTRADATA’ 235 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:73: note: in expansion of macro ‘EXTRADATA’ 235 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:237:36: note: in expansion of macro ‘EXTRADATA’ 237 | UI_VScrollbarNodeSet(node, EXTRADATA(node).pos + deltaY); | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:249:29: note: in expansion of macro ‘EXTRADATA’ 249 | const int posSize = EXTRADATA(node).fullsize; | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:13: note: in expansion of macro ‘EXTRADATA’ 279 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:46: note: in expansion of macro ‘EXTRADATA’ 279 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:74: note: in expansion of macro ‘EXTRADATA’ 279 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:281:21: note: in expansion of macro ‘EXTRADATA’ 281 | if (EXTRADATA(node).hideWhenUnused) | ^~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_window.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_window.cpp.o src/client/ui/node/ui_node_window.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_window.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_window.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_window.cpp:30: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_window.cpp: In function ‘uiNode_t* UI_WindowNodeGetIndexedChild(uiNode_t*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:61:18: note: in expansion of macro ‘EXTRADATA’ 61 | for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) { | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowNodeAddIndexedNode(uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:78:18: note: in expansion of macro ‘EXTRADATA’ 78 | for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:87:27: note: in expansion of macro ‘EXTRADATA’ 87 | a->next = EXTRADATA(node).index; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:88:32: note: in expansion of macro ‘EXTRADATA’ 88 | a->hash_next = EXTRADATA(node).index_hash[hash]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:89:17: note: in expansion of macro ‘EXTRADATA’ 89 | EXTRADATA(node).index_hash[hash] = a; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:90:17: note: in expansion of macro ‘EXTRADATA’ 90 | EXTRADATA(node).index = a; | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowIsFullScreen(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:111:16: note: in expansion of macro ‘EXTRADATACONST’ 111 | return EXTRADATACONST(node).isFullScreen; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:144:13: note: in expansion of macro ‘EXTRADATA’ 144 | if (EXTRADATA(node).modal && ui_global.windowStack[ui_global.windowStackPos - 1] == node) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:147:13: note: in expansion of macro ‘EXTRADATA’ 147 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:148:43: note: in expansion of macro ‘EXTRADATA’ 148 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:163:13: note: in expansion of macro ‘EXTRADATA’ 163 | if (EXTRADATA(node).fill) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:180:13: note: in expansion of macro ‘EXTRADATA’ 180 | if (EXTRADATA(node).starLayout) { | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:196:13: note: in expansion of macro ‘EXTRADATA’ 196 | if (EXTRADATA(node).onWindowOpened) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:197:48: note: in expansion of macro ‘EXTRADATA’ 197 | UI_ExecuteEventActionsEx(node, EXTRADATA(node).onWindowOpened, params); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onWindowClosed(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:210:13: note: in expansion of macro ‘EXTRADATA’ 210 | if (EXTRADATA(node).onWindowClosed) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:211:46: note: in expansion of macro ‘EXTRADATA’ 211 | UI_ExecuteEventActions(node, EXTRADATA(node).onWindowClosed); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onWindowActivate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:222:13: note: in expansion of macro ‘EXTRADATA’ 222 | if (EXTRADATA(node).onWindowActivate) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:223:46: note: in expansion of macro ‘EXTRADATA’ 223 | UI_ExecuteEventActions(node, EXTRADATA(node).onWindowActivate); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:243:13: note: in expansion of macro ‘EXTRADATA’ 243 | if (EXTRADATA(node).dragButton) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:255:13: note: in expansion of macro ‘EXTRADATA’ 255 | if (EXTRADATA(node).closeButton) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:272:9: note: in expansion of macro ‘EXTRADATA’ 272 | EXTRADATA(node).isFullScreen = node->box.size[0] == VID_NORM_WIDTH | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:275:13: note: in expansion of macro ‘EXTRADATA’ 275 | if (EXTRADATA(node).starLayout) | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::clone(const uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:282:9: note: in expansion of macro ‘EXTRADATA’ 282 | EXTRADATA(clone).index = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:176:36: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_window.cpp:283:9: note: in expansion of macro ‘OBJZERO’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:283:17: note: in expansion of macro ‘EXTRADATA’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:176:56: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_window.cpp:283:9: note: in expansion of macro ‘OBJZERO’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:283:17: note: in expansion of macro ‘EXTRADATA’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28: src/client/ui/node/ui_node_window.cpp: In function ‘vec_t* UI_WindowNodeGetNoticePosition(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:28: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/../../../common/../shared/vector.h:74:43: note: in expansion of macro ‘Vector2Equal’ 74 | #define Vector2Empty(a) (Vector2Equal((a), vec2_origin)) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:13: note: in expansion of macro ‘Vector2Empty’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:26: note: in expansion of macro ‘EXTRADATA’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:28: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/../../../common/../shared/vector.h:74:43: note: in expansion of macro ‘Vector2Equal’ 74 | #define Vector2Empty(a) (Vector2Equal((a), vec2_origin)) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:13: note: in expansion of macro ‘Vector2Empty’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:26: note: in expansion of macro ‘EXTRADATA’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:295:16: note: in expansion of macro ‘EXTRADATA’ 295 | return EXTRADATA(node).noticePos; | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowIsDropDown(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:305:16: note: in expansion of macro ‘EXTRADATACONST’ 305 | return EXTRADATACONST(node).dropdown; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowIsModal(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:315:16: note: in expansion of macro ‘EXTRADATACONST’ 315 | return EXTRADATACONST(node).modal; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘void UI_WindowNodeRegisterKeyBinding(uiNode_t*, uiKeyBinding_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:328:25: note: in expansion of macro ‘EXTRADATA’ 328 | binding->next = EXTRADATA(node).keyList; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:329:9: note: in expansion of macro ‘EXTRADATA’ 329 | EXTRADATA(node).keyList = binding; | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘uiKeyBinding_t* UI_WindowNodeGetKeyBinding(const uiNode_t*, unsigned int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:342:35: note: in expansion of macro ‘EXTRADATACONST’ 342 | uiKeyBinding_t* binding = EXTRADATACONST(node).keyList; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘void UI_RegisterWindowNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:360:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 360 | UI_RegisterExtradataNodeProperty(behaviour, "noticepos", V_POS, windowExtraData_t, noticePos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:362:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 362 | UI_RegisterExtradataNodeProperty(behaviour, "dragbutton", V_BOOL, windowExtraData_t, dragButton); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:364:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 364 | UI_RegisterExtradataNodeProperty(behaviour, "closebutton", V_BOOL, windowExtraData_t, closeButton); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:366:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 366 | UI_RegisterExtradataNodeProperty(behaviour, "modal", V_BOOL, windowExtraData_t, modal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:368:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 368 | UI_RegisterExtradataNodeProperty(behaviour, "dropdown", V_BOOL, windowExtraData_t, dropdown); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:370:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 370 | UI_RegisterExtradataNodeProperty(behaviour, "preventtypingescape", V_BOOL, windowExtraData_t, preventTypingEscape); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:372:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 372 | UI_RegisterExtradataNodeProperty(behaviour, "fill", V_BOOL, windowExtraData_t, fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:376:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 376 | UI_RegisterExtradataNodeProperty(behaviour, "starlayout", V_BOOL, windowExtraData_t, starLayout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:379:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 379 | UI_RegisterExtradataNodeProperty(behaviour, "onWindowOpened", V_UI_ACTION, windowExtraData_t, onWindowOpened); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:381:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 381 | UI_RegisterExtradataNodeProperty(behaviour, "onWindowClosed", V_UI_ACTION, windowExtraData_t, onWindowClosed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:383:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 383 | UI_RegisterExtradataNodeProperty(behaviour, "onWindowActivate", V_UI_ACTION, windowExtraData_t, onWindowActivate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:385:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 385 | UI_RegisterExtradataNodeProperty(behaviour, "onScriptLoaded", V_UI_ACTION, windowExtraData_t, onScriptLoaded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:388:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 388 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_zone.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/node/ui_node_zone.cpp.o src/client/ui/node/ui_node_zone.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/node/ui_node_zone.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_zone.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/ui_node_zone.cpp: In member function ‘virtual void uiZoneNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:53:14: note: in expansion of macro ‘EXTRADATA’ 53 | if (!EXTRADATA(node).repeat) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:57:53: note: in expansion of macro ‘EXTRADATA’ 57 | capturedTimer = UI_AllocTimer(node, EXTRADATA(node).clickDelay, UI_ZoneNodeRepeat); | ^~~~~~~~~ src/client/ui/node/ui_node_zone.cpp: In member function ‘virtual void uiZoneNode::onMouseUp(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:64:14: note: in expansion of macro ‘EXTRADATA’ 64 | if (!EXTRADATA(node).repeat) | ^~~~~~~~~ src/client/ui/node/ui_node_zone.cpp: In member function ‘virtual void uiZoneNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:88:9: note: in expansion of macro ‘EXTRADATA’ 88 | EXTRADATA(node).clickDelay = 1000; | ^~~~~~~~~ src/client/ui/node/ui_node_zone.cpp: In function ‘void UI_RegisterZoneNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:98:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 98 | UI_RegisterExtradataNodeProperty(behaviour, "repeat", V_BOOL, zoneExtraData_t, repeat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:100:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 100 | UI_RegisterExtradataNodeProperty(behaviour, "clickdelay", V_INT, zoneExtraData_t, clickDelay); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/ui_actions.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_actions.cpp.o src/client/ui/ui_actions.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_actions.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_actions.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_actions.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = void*; value_t = value_s]’: src/client/ui/ui_actions.cpp:347:23: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘void**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = uiAction_s*; value_t = value_s]’: src/client/ui/ui_actions.cpp:479:80: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uiAction_s**’ increases required alignment of target type [-Wcast-align] ===> CXX [testall] src/client/ui/ui_behaviour.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_behaviour.cpp.o src/client/ui/ui_behaviour.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_behaviour.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_behaviour.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_behaviour.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_components.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_components.cpp.o src/client/ui/ui_components.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_components.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h:28, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_components.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | In file included from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_abstractnode.h:28: src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_data.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_data.cpp.o src/client/ui/ui_data.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_data.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_data.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_data.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_data.h:31, from src/client/ui/ui_main.h:27, from src/client/ui/ui_data.cpp:27: src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_OptionNodeRemoveHigherOption(uiNode_t**)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:270:42: note: in expansion of macro ‘OPTIONEXTRADATA’ 270 | const char* label = CL_Translate(OPTIONEXTRADATA(*option).label); | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:274:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 274 | const char* searchlabel = CL_Translate(OPTIONEXTRADATA(search).label); | ^~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_FindOptionAtIndex(int, uiNode_t*, uiOptionIterator_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:389:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 389 | if (OPTIONEXTRADATA(option).collapsed) { | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:395:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 395 | if (index < OPTIONEXTRADATA(option).childCount) { | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:402:26: note: in expansion of macro ‘OPTIONEXTRADATA’ 402 | index -= OPTIONEXTRADATA(option).childCount; | ^~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_OptionIteratorNextOption(uiOptionIterator_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:449:13: note: in expansion of macro ‘OPTIONEXTRADATA’ 449 | if (OPTIONEXTRADATA(option).collapsed && iterator->skipCollapsed) | ^~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_FindOptionByValue(uiOptionIterator_t*, const char*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:482:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 482 | if (Q_streq(OPTIONEXTRADATA(iterator->option).value, value)) | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/ui_dragndrop.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_dragndrop.cpp.o src/client/ui/ui_dragndrop.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_dragndrop.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h:28, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_dragndrop.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | In file included from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_abstractnode.h:28: src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_draw.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_draw.cpp.o src/client/ui/ui_draw.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_draw.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_draw.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_draw.cpp:27: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_expression.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_expression.cpp.o src/client/ui/ui_expression.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_expression.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/ui_expression.h:27, from src/client/ui/ui_expression.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_expression.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/ui_expression.cpp: In function ‘uiNode_t* UI_GetNodeFromExpression(uiAction_t*, const uiCallContext_t*, const value_t**)’: src/client/ui/ui_expression.cpp:117:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 117 | } | ^ src/client/ui/ui_expression.cpp:119:9: note: here 119 | case EA_OPERATOR_UNARY: | ^~~~ src/client/ui/ui_expression.cpp: In function ‘bool UI_GetBooleanFromExpression(uiAction_t*, const uiCallContext_t*)’: src/client/ui/ui_expression.cpp:489:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 489 | name = UI_GenInjectedString(name, false, context); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_expression.cpp:490:33: note: here 490 | case EA_VALUE_CVARNAME: | ^~~~ src/client/ui/ui_expression.cpp:493:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 493 | name = UI_GenInjectedString(name, false, context); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_expression.cpp:494:33: note: here 494 | case EA_VALUE_PATHNODE: { | ^~~~ ===> CXX [testall] src/client/ui/ui_font.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_font.cpp.o src/client/ui/ui_font.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_font.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_font.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_font.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/ui/ui_font.cpp:123:6: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_font.cpp: In function ‘bool UI_ParseFont(const char*, const char**)’: src/client/ui/ui_font.cpp:121:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 121 | token++; | ~~~~~^~ src/client/ui/ui_font.cpp:122:33: note: here 122 | case V_HUNK_STRING: | ^~~~ ===> CXX [testall] src/client/ui/ui_input.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_input.cpp.o src/client/ui/ui_input.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_input.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_input.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_input.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_main.cpp.o src/client/ui/ui_main.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_main.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_main.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_node.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_node.cpp.o src/client/ui/ui_node.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_node.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_node.cpp:27: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_node.cpp:37: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = void*; value_t = value_s]’: src/client/ui/ui_node.cpp:706:44: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘void**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = float*; value_t = value_s]’: src/client/ui/ui_node.cpp:708:43: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = int*; value_t = value_s]’: src/client/ui/ui_node.cpp:709:43: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const unsigned char*; value_t = value_s]’: src/client/ui/ui_node.cpp:710:43: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const unsigned char**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const uiAction_s*; value_t = value_s]’: src/client/ui/ui_node.cpp:713:34: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const uiAction_s**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const uiSprite_t*; value_t = value_s]’: src/client/ui/ui_node.cpp:715:34: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const uiSprite_t**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/ui/ui_node.cpp:745:35: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = float; value_t = value_s]’: src/client/ui/../../common/scripts.h:186:24: required from ‘const T& Com_GetValue(const void*, const value_t*) [with T = float; value_t = value_s]’ src/client/ui/ui_node.cpp:858:29: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = int; value_t = value_s]’: src/client/ui/../../common/scripts.h:186:24: required from ‘const T& Com_GetValue(const void*, const value_t*) [with T = int; value_t = value_s]’ src/client/ui/ui_node.cpp:870:27: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] ===> CXX [testall] src/client/ui/ui_nodes.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_nodes.cpp.o src/client/ui/ui_nodes.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_nodes.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_nodes.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_nodes.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/ui_nodes.cpp: In function ‘void UI_InitNodes()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct uiBehaviour_t’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/ui_nodes.cpp:633:17: note: in expansion of macro ‘OBJZERO’ 633 | OBJZERO(*current); | ^~~~~~~ In file included from src/client/ui/ui_internal.h:39: src/client/ui/ui_behaviour.h:38:8: note: ‘struct uiBehaviour_t’ declared here 38 | struct uiBehaviour_t { | ^~~~~~~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = void*; value_t = value_s]’: src/client/ui/ui_nodes.cpp:558:41: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘void**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/client/ui/ui_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_parse.cpp.o src/client/ui/ui_parse.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/../client.h:31, from src/client/ui/ui_parse.cpp:28: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/../cl_renderer.h:29, from src/client/ui/../client.h:32: src/client/ui/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/../renderer/r_gl.h:32, from src/client/ui/../renderer/r_image.h:28, from src/client/ui/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/../renderer/r_model.h:30, from src/client/ui/../cl_renderer.h:28: src/client/ui/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/../../common/common.h:184: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = uiAction_s*; value_t = value_s]’: src/client/ui/ui_parse.cpp:634:50: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uiAction_s**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = unsigned char*; value_t = value_s]’: src/client/ui/ui_parse.cpp:712:22: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned char**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const uiSprite_t*; value_t = value_s]’: src/client/ui/ui_parse.cpp:800:64: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const uiSprite_t**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = int; value_t = value_s]’: src/client/ui/ui_parse.cpp:827:36: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/ui/ui_parse.cpp:1169:5: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] src/client/ui/ui_parse.cpp: In function ‘uiAction_t* UI_ParseActionList(uiNode_t*, const char**, const char**)’: src/client/ui/ui_parse.cpp:516:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 516 | if (!lastAction || (lastAction->type != EA_IF && lastAction->type != EA_ELIF)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_parse.cpp:521:17: note: here 521 | case EA_WHILE: | ^~~~ ===> CXX [testall] src/client/ui/ui_popup.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_popup.cpp.o src/client/ui/ui_popup.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_popup.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_popup.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/ui/ui_render.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_render.cpp.o src/client/ui/ui_render.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_render.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_render.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/../cl_renderer.h:29, from src/client/ui/ui_render.h:28, from src/client/ui/ui_render.cpp:27: src/client/ui/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/../renderer/r_gl.h:32, from src/client/ui/../renderer/r_image.h:28, from src/client/ui/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/../renderer/r_model.h:30, from src/client/ui/../cl_renderer.h:28: src/client/ui/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_sound.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_sound.cpp.o src/client/ui/ui_sound.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_sound.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sound.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/ui/ui_sprite.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_sprite.cpp.o src/client/ui/ui_sprite.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_sprite.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sprite.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_sprite.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_timer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_timer.cpp.o src/client/ui/ui_timer.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_timer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_timer.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/ui/ui_tooltip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_tooltip.cpp.o src/client/ui/ui_tooltip.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_tooltip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_tooltip.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/../cl_renderer.h:29, from src/client/ui/ui_render.h:28, from src/client/ui/ui_tooltip.cpp:31: src/client/ui/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/../renderer/r_gl.h:32, from src/client/ui/../renderer/r_image.h:28, from src/client/ui/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/../renderer/r_model.h:30, from src/client/ui/../cl_renderer.h:28: src/client/ui/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/client/ui/ui_windows.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/ui/ui_windows.cpp.o src/client/ui/ui_windows.cpp -MP -MD -MT release-linux-riscv64/testall/client/ui/ui_windows.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_windows.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_windows.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_data.h:31: src/client/ui/ui_windows.cpp: In function ‘void UI_MoveWindowOnTop(uiNode_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:91:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 91 | if (WINDOWEXTRADATA(window).parent != WINDOWEXTRADATA(ui_global.windowStack[j]).parent) | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:91:55: note: in expansion of macro ‘WINDOWEXTRADATA’ 91 | if (WINDOWEXTRADATA(window).parent != WINDOWEXTRADATA(ui_global.windowStack[j]).parent) | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘uiNode_t* UI_PushWindow(const char*, const char*, linkedList_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:190:25: note: in expansion of macro ‘WINDOWEXTRADATA’ 190 | WINDOWEXTRADATA(window).parent = ui_global.windowStack[parentPos]; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_CloseAllWindow()’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:340:17: note: in expansion of macro ‘WINDOWEXTRADATA’ 340 | WINDOWEXTRADATA(window).parent = nullptr; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_CloseWindowByRef(uiNode_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:396:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 396 | if (WINDOWEXTRADATA(m).parent != window) { | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:401:17: note: in expansion of macro ‘WINDOWEXTRADATA’ 401 | WINDOWEXTRADATA(m).parent = nullptr; | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:407:9: note: in expansion of macro ‘WINDOWEXTRADATA’ 407 | WINDOWEXTRADATA(window).parent = nullptr; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_PopWindow(bool)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:440:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 440 | if (WINDOWEXTRADATA(mainWindow).parent) | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:441:38: note: in expansion of macro ‘WINDOWEXTRADATA’ 441 | mainWindow = WINDOWEXTRADATA(mainWindow).parent; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_PopWindowWithEscKey()’: src/client/ui/ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:39:37: note: in expansion of macro ‘UI_EXTRADATACONST’ 39 | #define WINDOWEXTRADATACONST(node) UI_EXTRADATACONST(node, windowExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:491:13: note: in expansion of macro ‘WINDOWEXTRADATACONST’ 491 | if (WINDOWEXTRADATACONST(window).preventTypingEscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘bool UI_IsMouseOnWindow()’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:544:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 544 | if (WINDOWEXTRADATA(ui_global.windowStack[ui_global.windowStackPos - 1]).dropdown) | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_FinishWindowsInit()’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:647:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 647 | if (WINDOWEXTRADATA(window).onScriptLoaded) | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:648:56: note: in expansion of macro ‘WINDOWEXTRADATA’ 648 | UI_ExecuteEventActions(window, WINDOWEXTRADATA(window).onScriptLoaded); | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_DebugTree_f()’: src/client/ui/ui_windows.cpp:676:26: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 676 | Com_Printf("+ %s %s\n", UI_Node_GetWidgetName(node), node->name); | ^~ ===> CXX [testall] src/client/web/web_cgame.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/web/web_cgame.cpp.o src/client/web/web_cgame.cpp -MP -MD -MT release-linux-riscv64/testall/client/web/web_cgame.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30, from src/client/web/web_main.h:29, from src/client/web/web_cgame.cpp:27: src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/client/web/web_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/client/web/web_main.cpp.o src/client/web/web_main.cpp -MP -MD -MT release-linux-riscv64/testall/client/web/web_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30, from src/client/web/web_main.h:29, from src/client/web/web_main.cpp:27: src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/binaryexpressionparser.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/binaryexpressionparser.cpp.o src/common/binaryexpressionparser.cpp -MP -MD -MT release-linux-riscv64/testall/common/binaryexpressionparser.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/binaryexpressionparser.h:27, from src/common/binaryexpressionparser.cpp:25: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/bsp.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/bsp.cpp.o src/common/bsp.cpp -MP -MD -MT release-linux-riscv64/testall/common/bsp.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/bsp.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/bsp.cpp: In function ‘void CMod_LoadSubmodels(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:59:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspModel_t*’ increases required alignment of target type [-Wcast-align] 59 | in = (const dBspModel_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadSurfaces(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:102:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspTexinfo_t*’ {aka ‘const texinfo_s*’} increases required alignment of target type [-Wcast-align] 102 | in = (const dBspTexinfo_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadNodes(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:143:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspNode_t*’ increases required alignment of target type [-Wcast-align] 143 | in = (const dBspNode_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadBrushes(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:193:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspBrush_t*’ increases required alignment of target type [-Wcast-align] 193 | in = (const dBspBrush_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadLeafs(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:230:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspLeaf_t*’ increases required alignment of target type [-Wcast-align] 230 | in = (const dBspLeaf_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadPlanes(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:284:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspPlane_t*’ increases required alignment of target type [-Wcast-align] 284 | in = (const dBspPlane_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadLeafBrushes(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:329:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 329 | in = (const unsigned short*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadBrushSides(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:366:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspBrushSide_t*’ increases required alignment of target type [-Wcast-align] 366 | in = (const dBspBrushSide_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CM_AddMapTile(const char*, const char*, bool, int, int, byte, mapData_t*, mapTiles_t*)’: src/common/bsp.cpp:812:19: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dBspHeader_t*’ increases required alignment of target type [-Wcast-align] 812 | header = *(dBspHeader_t*) buf; | ^~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CM_LoadMap(const char*, bool, const char*, const char*, mapData_t*, mapTiles_t*)’: src/common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘mapData_t’ {aka ‘struct mapData_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/common/bsp.cpp:942:9: note: in expansion of macro ‘OBJZERO’ 942 | OBJZERO(*mapData); | ^~~~~~~ In file included from src/common/tracing.h:30, from src/common/cmodel.h:31, from src/common/common.h:182: src/common/../shared/typedefs.h:319:16: note: ‘mapData_t’ {aka ‘struct mapData_s’} declared here 319 | typedef struct mapData_s { | ^~~~~~~~~ ===> CXX [testall] src/common/cmd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/cmd.cpp.o src/common/cmd.cpp -MP -MD -MT release-linux-riscv64/testall/common/cmd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/cmd.h:35, from src/common/cmd.cpp:34: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/cmodel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/cmodel.cpp.o src/common/cmodel.cpp -MP -MD -MT release-linux-riscv64/testall/common/cmodel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/cmodel.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/common.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/common.cpp.o src/common/common.cpp -MP -MD -MT release-linux-riscv64/testall/common/common.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/common.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/cvar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/cvar.cpp.o src/common/cvar.cpp -MP -MD -MT release-linux-riscv64/testall/common/cvar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/cvar.cpp:31: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/dbuffer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/dbuffer.cpp.o src/common/dbuffer.cpp -MP -MD -MT release-linux-riscv64/testall/common/dbuffer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/dbuffer.cpp:25: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/files.cpp.o src/common/files.cpp -MP -MD -MT release-linux-riscv64/testall/common/files.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/files.cpp:31: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/files.cpp: In function ‘void FS_ExecAutoexec()’: src/common/files.cpp:753:47: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=] 753 | snprintf(name, sizeof(name), "%s/autoexec.cfg", s->filename); | ^~ In file included from /usr/include/stdio.h:980, from /usr/include/SDL2/SDL_stdinc.h:37, from /usr/include/SDL2/SDL_endian.h:31, from src/common/../shared/byte.h:30, from src/common/common.h:29: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void FS_ExecAutoexec()’ at src/common/files.cpp:753:11: /usr/include/riscv64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 14 and 269 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/grid.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/grid.cpp.o src/common/grid.cpp -MP -MD -MT release-linux-riscv64/testall/common/grid.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/grid.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/grid.cpp: In member function ‘bool Step::checkFlyingDirections() const’: src/common/grid.cpp:394:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 394 | neededHeight = actorHeight + CELL_HEIGHT - std::max((const signed char)0, routing.getFloor(actorSize, fromPos)); | ^~~~~~~~~~~~~~~~~~~~ src/common/grid.cpp:399:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 399 | neededHeight = actorHeight + CELL_HEIGHT - std::max((const signed char)0, routing.getFloor(actorSize, toPos)); | ^~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/http.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/http.cpp.o src/common/http.cpp -MP -MD -MT release-linux-riscv64/testall/common/http.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/http.h:27, from src/common/http.cpp:21: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/http.cpp: In function ‘bool HTTP_PutFile(const char*, const char*, const char*, const upparam_t*)’: src/common/http.cpp:256:44: warning: ‘CURLFORM_PTRNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ^~~~~~~~~~~~~~~~ In file included from src/common/http.h:32: /usr/include/riscv64-linux-gnu/curl/curl.h:2502:3: note: declared here 2502 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/common/http.cpp:256:76: warning: ‘CURLFORM_PTRCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2505:3: note: declared here 2505 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ src/common/http.cpp:256:29: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/common/http.cpp:260:36: warning: ‘CURLFORM_PTRNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ^~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2502:3: note: declared here 2502 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/common/http.cpp:260:64: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ^~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ src/common/http.cpp:260:21: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/common/http.cpp:264:32: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 264 | curl_easy_setopt(curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:1190:3: note: declared here 1190 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/ioapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/ioapi.cpp.o src/common/ioapi.cpp -MP -MD -MT release-linux-riscv64/testall/common/ioapi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [testall] src/common/list.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/list.cpp.o src/common/list.cpp -MP -MD -MT release-linux-riscv64/testall/common/list.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/list.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/md4.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/md4.cpp.o src/common/md4.cpp -MP -MD -MT release-linux-riscv64/testall/common/md4.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/md4.cpp:32: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In function ‘void mdfour_result(mdfour*, unsigned char*)’, inlined from ‘void mdfour(unsigned char*, const unsigned char*, int)’ at src/common/md4.cpp:198:15, inlined from ‘unsigned int Com_BlockChecksum(const void*, int)’ at src/common/md4.cpp:213:8: src/common/md4.cpp:184:11: warning: storing the address of local variable ‘md’ in ‘m’ [-Wdangling-pointer=] 184 | m = md; | ~~^~~~ src/common/md4.cpp: In function ‘unsigned int Com_BlockChecksum(const void*, int)’: src/common/md4.cpp:195:23: note: ‘md’ declared here 195 | struct mdfour md; | ^~ src/common/md4.cpp:35:23: note: ‘m’ declared here 35 | static struct mdfour *m; | ^ ===> CXX [testall] src/common/md5.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/md5.cpp.o src/common/md5.cpp -MP -MD -MT release-linux-riscv64/testall/common/md5.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/md5.cpp:23: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/md5.cpp: In function ‘void MD5Transform(uint32_t*, const uint32_t*)’: src/common/md5.cpp:81:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp: In function ‘void MD5Update(MD5Context*, const unsigned char*, unsigned int)’: src/common/md5.cpp:191:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 191 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:200:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 200 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp: In function ‘void MD5Final(MD5Context*, unsigned char*)’: src/common/md5.cpp:235:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 235 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:246:10: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 246 | ((uint32_t*) ctx->in)[14] = ctx->bits[0]; | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:247:10: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 247 | ((uint32_t*) ctx->in)[15] = ctx->bits[1]; | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:249:32: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 249 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/mem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/mem.cpp.o src/common/mem.cpp -MP -MD -MT release-linux-riscv64/testall/common/mem.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/mem.cpp:29: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/mem.cpp: In function ‘memBlockFoot_t* Mem_BlockToFooter(memBlock_t*)’: src/common/mem.cpp:177:16: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘memBlockFoot_t*’ increases required alignment of target type [-Wcast-align] 177 | return reinterpret_cast(reinterpret_cast(Mem_BlockToPtr(mem)) + mem->memSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/msg.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/msg.cpp.o src/common/msg.cpp -MP -MD -MT release-linux-riscv64/testall/common/msg.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/msg.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/net.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/net.cpp.o src/common/net.cpp -MP -MD -MT release-linux-riscv64/testall/common/net.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/net.cpp:29: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/net.cpp: In function ‘void NET_Wait(int)’: src/common/net.cpp:561:94: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 561 | const int len = sendto(s->socket, dgram->msg, dgram->len, 0, (struct sockaddr* )dgram->addr, s->addrlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:580:82: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 580 | const int len = recvfrom(s->socket, buf, sizeof(buf), 0, (struct sockaddr* )addrbuf, &addrlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:584:54: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 584 | s->func(s, buf, len, (struct sockaddr* )addrbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp: In function ‘const char* NET_StreamPeerToName(net_stream*, char*, int, bool)’: src/common/net.cpp:897:36: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 897 | if (getpeername(s->socket, (struct sockaddr* )buf, &addrlen) != 0) | ^~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:902:36: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 902 | const int rc = getnameinfo((struct sockaddr* )buf, addrlen, node, sizeof(node), service, sizeof(service), | ^~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp: In function ‘void NET_AddrinfoToString(const addrinfo*, char*, size_t)’: src/common/net.cpp:1240:36: warning: cast from ‘sockaddr*’ to ‘sockaddr_in*’ increases required alignment of target type [-Wcast-align] 1240 | char* service = inet_ntoa(((struct sockaddr_in *)addr->ai_addr)->sin_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/netpack.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/netpack.cpp.o src/common/netpack.cpp -MP -MD -MT release-linux-riscv64/testall/common/netpack.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/netpack.cpp:25: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/netpack.cpp: In function ‘void NET_OOB_Printf(net_stream*, const char*, ...)’: src/common/netpack.cpp:557:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 557 | const char cmd = (const char)clc_oob; | ^~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/pqueue.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/pqueue.cpp.o src/common/pqueue.cpp -MP -MD -MT release-linux-riscv64/testall/common/pqueue.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/pqueue.cpp:17: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/routing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/routing.cpp.o src/common/routing.cpp -MP -MD -MT release-linux-riscv64/testall/common/routing.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/routing.cpp:28: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/routing.cpp: In function ‘int RT_MicroTrace(RoutingData*, const place_t*, int, int, int, int, opening_t*)’: src/common/routing.cpp:1145:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1145 | if (bases[5] <= middle && /* same for the 2nd part of the passage */ | ^~ src/common/routing.cpp:1150:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1150 | return opening->base - middle; | ^~~~~~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:28: warning: ‘hi’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~^~~~~~~~~~~~~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1169:13: note: ‘hi’ declared here 1169 | int hi; /**< absolute ceiling of the passage found. */ | ^~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:39: warning: ‘opening.opening_s::base’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~~~~~~~^~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1341:19: note: ‘opening’ declared here 1341 | opening_t opening; /** the opening between the two cells */ | ^~~~~~~ ===> CXX [testall] src/common/scripts.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/scripts.cpp.o src/common/scripts.cpp -MP -MD -MT release-linux-riscv64/testall/common/scripts.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/scripts.h:28, from src/common/scripts.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/scripts.cpp: In function ‘resultStatus_t Com_ParseValue(void*, const char*, valueTypes_t, int, size_t, size_t*)’: src/common/scripts.cpp:539:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 539 | *(int *) b = TEAM_CIVILIAN; | ^~~~~~~~~ src/common/scripts.cpp:541:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 541 | *(int *) b = TEAM_PHALANX; | ^~~~~~~~~ src/common/scripts.cpp:543:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 543 | *(int *) b = TEAM_ALIEN; | ^~~~~~~~~ src/common/scripts.cpp:551:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 551 | *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:553:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 553 | *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:555:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 555 | *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:557:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 557 | *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:559:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 559 | *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:561:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 561 | *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:563:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 563 | *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:565:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 565 | *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:573:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 573 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:575:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 575 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:577:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 577 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:579:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 579 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:581:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 581 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:583:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 583 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:585:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 585 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:587:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 587 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:589:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 589 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:591:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 591 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:599:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 599 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:601:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 601 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:603:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 603 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:605:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 605 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:607:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 607 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:609:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 609 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:611:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 611 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:613:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 613 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:615:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 615 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:617:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 617 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:624:43: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 624 | if (sscanf(token, "%i", &((int *) b)[0]) != 1) { | ^~~~~~~~~ src/common/scripts.cpp:625:55: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 625 | if (!Com_GetConstInt(token, &((int *) b)[0])) { | ^~~~~~~~~ src/common/scripts.cpp:634:46: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 634 | if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { | ^~~~~~~~~ src/common/scripts.cpp:634:63: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 634 | if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { | ^~~~~~~~~ src/common/scripts.cpp:642:43: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 642 | if (sscanf(token, "%f", &((float *) b)[0]) != 1) { | ^~~~~~~~~~~ src/common/scripts.cpp:650:46: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 650 | if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { | ^~~~~~~~~~~ src/common/scripts.cpp:650:65: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 650 | if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:49: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:68: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:87: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:667:36: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 667 | float* f = (float *) b; | ^~~~~~~~~~~ src/common/scripts.cpp:706:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘align_t*’ increases required alignment of target type [-Wcast-align] 706 | *(align_t *)b = (align_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:718:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘blend_t*’ increases required alignment of target type [-Wcast-align] 718 | *(blend_t *)b = (blend_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:730:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘style_t*’ increases required alignment of target type [-Wcast-align] 730 | *(style_t *)b = (style_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:742:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘fade_t*’ increases required alignment of target type [-Wcast-align] 742 | *(fade_t *)b = (fade_t)num; | ^~~~~~~~~~~ src/common/scripts.cpp:761:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 761 | *(uint32_t *) b |= ((1 << w) - 1) << x << (y * SHAPE_SMALL_MAX_WIDTH); | ^~~~~~~~~~~~~~ src/common/scripts.cpp:780:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 780 | ((uint32_t *) b)[y] |= w; | ^~~~~~~~~~~~~~ src/common/scripts.cpp:801:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘date_t*’ {aka ‘date_s*’} increases required alignment of target type [-Wcast-align] 801 | ((date_t *) b)->day = DAYS_PER_YEAR * x + y; | ^~~~~~~~~~~~ src/common/scripts.cpp:802:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘date_t*’ {aka ‘date_s*’} increases required alignment of target type [-Wcast-align] 802 | ((date_t *) b)->sec = SECONDS_PER_HOUR * w; | ^~~~~~~~~~~~ src/common/scripts.cpp:813:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 813 | *(float *) b = atof(token + 1) * (-1); | ^~~~~~~~~~~ src/common/scripts.cpp:815:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 815 | *(float *) b = atof(token + 1); | ^~~~~~~~~~~ src/common/scripts.cpp:821:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 821 | *(float *) b = atof(token); | ^~~~~~~~~~~ src/common/scripts.cpp: In function ‘int Com_SetValue(void*, const void*, valueTypes_t, int, size_t)’: src/common/scripts.cpp:931:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 931 | *(int *) b = TEAM_CIVILIAN; | ^~~~~~~~~ src/common/scripts.cpp:933:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 933 | *(int *) b = TEAM_PHALANX; | ^~~~~~~~~ src/common/scripts.cpp:935:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 935 | *(int *) b = TEAM_ALIEN; | ^~~~~~~~~ src/common/scripts.cpp:942:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 942 | *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:944:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 944 | *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:946:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 946 | *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:948:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 948 | *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:950:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 950 | *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:952:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 952 | *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:954:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 954 | *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:956:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 956 | *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:963:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 963 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:965:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 965 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:967:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 967 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:969:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 969 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:971:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 971 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:973:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 973 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:975:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 975 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:977:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 977 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:979:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 979 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:981:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 981 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:988:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 988 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:990:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 990 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:992:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 992 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:994:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 994 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:996:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 996 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:998:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 998 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1000:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1000 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1002:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1002 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1004:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1004 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1006:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1006 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1012:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1012 | *(int *) b = *(const int *) set; | ^~~~~~~~~ src/common/scripts.cpp:1016:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1016 | ((int *) b)[0] = ((const int *) set)[0]; | ^~~~~~~~~ src/common/scripts.cpp:1017:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1017 | ((int *) b)[1] = ((const int *) set)[1]; | ^~~~~~~~~ src/common/scripts.cpp:1021:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1021 | *(float *) b = *(const float *) set; | ^~~~~~~~~~~ src/common/scripts.cpp:1025:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1025 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1026:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1026 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1030:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1030 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1031:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1031 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1032:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1032 | ((float *) b)[2] = ((const float *) set)[2]; | ^~~~~~~~~~~ src/common/scripts.cpp:1036:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1036 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1037:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1037 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1038:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1038 | ((float *) b)[2] = ((const float *) set)[2]; | ^~~~~~~~~~~ src/common/scripts.cpp:1039:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1039 | ((float *) b)[3] = ((const float *) set)[3]; | ^~~~~~~~~~~ src/common/scripts.cpp:1055:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘align_t*’ increases required alignment of target type [-Wcast-align] 1055 | *(align_t *)b = *(const align_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1059:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘blend_t*’ increases required alignment of target type [-Wcast-align] 1059 | *(blend_t *)b = *(const blend_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1063:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘style_t*’ increases required alignment of target type [-Wcast-align] 1063 | *(style_t *)b = *(const style_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1067:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘fade_t*’ increases required alignment of target type [-Wcast-align] 1067 | *(fade_t *)b = *(const fade_t *) set; | ^~~~~~~~~~~ src/common/scripts.cpp:1071:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1071 | *(int *) b = *(const int *) set; | ^~~~~~~~~ src/common/scripts.cpp: In function ‘const char* Com_ValueToStr(const void*, valueTypes_t, int)’: src/common/scripts.cpp:1133:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1133 | switch (*(const int *) b) { | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1141:60: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1141 | Sys_Error("Unknown team id '%i'", *(const int *) b); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1145:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 1145 | switch (*(const humanAircraftType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1163:71: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 1163 | Sys_Error("Unknown aircrafttype type: '%i'", *(const humanAircraftType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1167:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1167 | switch (*(const ufoType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1189:62: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1189 | Sys_Error("Unknown ufo type: '%i'", *(const ufoType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1193:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1193 | switch (*(const ufoType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1215:70: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1215 | Sys_Error("Unknown crashed ufo type: '%i'", *(const ufoType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1219:64: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1219 | Com_sprintf(valuestr, sizeof(valuestr), "%i", *(const int *) b); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:67: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1223 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:89: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1223 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1227:66: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1227 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:71: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1231 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:95: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1231 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:76: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:100: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:124: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:81: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:105: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:129: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:153: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1252:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const align_t*’ increases required alignment of target type [-Wcast-align] 1252 | Q_strncpyz(valuestr, align_names[*(const align_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1257:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const blend_t*’ increases required alignment of target type [-Wcast-align] 1257 | Q_strncpyz(valuestr, blend_names[*(const blend_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1262:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const style_t*’ increases required alignment of target type [-Wcast-align] 1262 | Q_strncpyz(valuestr, style_names[*(const style_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1267:50: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const fade_t*’ increases required alignment of target type [-Wcast-align] 1267 | Q_strncpyz(valuestr, fade_names[*(const fade_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:70: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:113: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:156: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1284:22: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1284 | if (*(const float *) b > 2.0) | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1285:75: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1285 | Com_sprintf(valuestr, sizeof(valuestr), "+%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1287:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1287 | else if (*(const float *) b < 2.0) | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1288:75: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1288 | Com_sprintf(valuestr, sizeof(valuestr), "-%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1291:74: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1291 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/common/scripts.cpp:1323:5: required from here src/common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = linkedList_t*; value_t = value_s]’: src/common/scripts.cpp:1326:54: required from here src/common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘linkedList_t**’ increases required alignment of target type [-Wcast-align] src/common/scripts.cpp: In function ‘bool Com_ParseBlockToken(const char*, const char**, void*, const value_t*, memPool_t*, const char*)’: src/common/scripts.cpp:1318:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 1318 | if (*token == '_') | ^~ src/common/scripts.cpp:1322:25: note: here 1322 | case V_HUNK_STRING: | ^~~~ ===> CXX [testall] src/common/sha1.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/sha1.cpp.o src/common/sha1.cpp -MP -MD -MT release-linux-riscv64/testall/common/sha1.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/sha1.cpp:43: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/sha2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/sha2.cpp.o src/common/sha2.cpp -MP -MD -MT release-linux-riscv64/testall/common/sha2.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/sha2.cpp:35: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/tracing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/tracing.cpp.o src/common/tracing.cpp -MP -MD -MT release-linux-riscv64/testall/common/tracing.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/../shared/typedefs.h:5, from src/common/tracing.h:30, from src/common/tracing.cpp:29: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/common/unzip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/unzip.cpp.o src/common/unzip.cpp -MP -MD -MT release-linux-riscv64/testall/common/unzip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [testall] src/common/xml.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/common/xml.cpp.o src/common/xml.cpp -MP -MD -MT release-linux-riscv64/testall/common/xml.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/xml.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/game/chr_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/chr_shared.cpp.o src/game/chr_shared.cpp -MP -MD -MT release-linux-riscv64/testall/game/chr_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/chr_shared.cpp:26: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/chr_shared.cpp: In function ‘void CHRSH_CharGenAbilitySkills(character_t*, bool, const char*)’: src/game/chr_shared.cpp:208:97: warning: the address of ‘chrTemplate_s::id’ will never be NULL [-Waddress] 208 | for (chrTemplate = teamDef->characterTemplates[0]; chrTemplate->id; chrTemplate++) { | ~~~~~~~~~~~~~^~ In file included from src/game/q_shared.h:40: src/game/chr_shared.h:57:14: note: ‘chrTemplate_s::id’ declared here 57 | char id[MAX_VAR]; /** short name of the template */ | ^~ ===> CXX [testall] src/game/g_actor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_actor.cpp.o src/game/g_actor.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_actor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_actor.h:27, from src/game/g_actor.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_ai.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_ai.cpp.o src/game/g_ai.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_ai.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_ai.h:28, from src/game/g_ai.cpp:26: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_ai_lua.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_ai_lua.cpp.o src/game/g_ai_lua.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_ai_lua.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_ai_lua.cpp:35: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_camera.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_camera.cpp.o src/game/g_camera.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_camera.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_camera.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_client.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_client.cpp.o src/game/g_client.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_client.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_client.h:29, from src/game/g_client.cpp:40: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_cmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_cmds.cpp.o src/game/g_cmds.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_cmds.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_cmds.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_combat.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_combat.cpp.o src/game/g_combat.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_combat.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_combat.h:28, from src/game/g_combat.cpp:26: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_edicts.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_edicts.cpp.o src/game/g_edicts.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_edicts.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_edicts.h:31, from src/game/g_edicts.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_edicts.cpp: In function ‘Edict* G_EdictDuplicate(const Edict*)’: src/game/g_edicts.cpp:134:15: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Edict’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memcpy(duplicate, edict, sizeof(*edict)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_events.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_events.cpp.o src/game/g_events.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_events.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_events.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_func.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_func.cpp.o src/game/g_func.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_func.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_func.h:31, from src/game/g_func.cpp:30: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_health.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_health.cpp.o src/game/g_health.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_health.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_health.h:27, from src/game/g_health.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_inventory.cpp.o src/game/g_inventory.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_inventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_inventory.h:27, from src/game/g_inventory.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_main.cpp.o src/game/g_main.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_main.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_match.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_match.cpp.o src/game/g_match.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_match.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_match.cpp:27: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_mission.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_mission.cpp.o src/game/g_mission.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_mission.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_mission.h:31, from src/game/g_mission.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_mission.cpp: In function ‘bool G_MissionTouch(Edict*, Edict*)’: src/game/g_mission.cpp:65:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 65 | self->count = 0; | ~~~~~~~~~~~~^~~ src/game/g_mission.cpp:68:9: note: here 68 | default: | ^~~~~~~ ===> CXX [testall] src/game/g_morale.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_morale.cpp.o src/game/g_morale.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_morale.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_morale.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_move.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_move.cpp.o src/game/g_move.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_move.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_move.h:27, from src/game/g_move.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_reaction.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_reaction.cpp.o src/game/g_reaction.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_reaction.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_reaction.h:29, from src/game/g_reaction.cpp:74: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_round.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_round.cpp.o src/game/g_round.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_round.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_round.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_spawn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_spawn.cpp.o src/game/g_spawn.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_spawn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_spawn.h:31, from src/game/g_spawn.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_stats.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_stats.cpp.o src/game/g_stats.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_stats.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_stats.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_svcmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_svcmds.cpp.o src/game/g_svcmds.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_svcmds.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_svcmds.cpp:30: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_svcmds.cpp: In function ‘bool StringToFilter(const char*, ipfilter_t*)’: src/game/g_svcmds.cpp:101:20: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 101 | f->mask = *(unsigned *) m; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp:102:23: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 102 | f->compare = *(unsigned *) b; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘bool SV_FilterPacket(const char*)’: src/game/g_svcmds.cpp:127:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 127 | in = *(unsigned *) m; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘void SVCmd_ListIP_f()’: src/game/g_svcmds.cpp:201:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 201 | *(unsigned *) b = ipfilters[i].compare; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘void SVCmd_WriteIP_f()’: src/game/g_svcmds.cpp:229:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 229 | *(unsigned *) b = ipfilters[i].compare; | ^~~~~~~~~~~~~~ ===> CXX [testall] src/game/g_trigger.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_trigger.cpp.o src/game/g_trigger.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_trigger.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_trigger.h:31, from src/game/g_trigger.cpp:30: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_utils.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_utils.cpp.o src/game/g_utils.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_utils.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_utils.h:31, from src/game/g_utils.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/g_vis.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/g_vis.cpp.o src/game/g_vis.cpp -MP -MD -MT release-linux-riscv64/testall/game/g_vis.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_vis.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/game/inv_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/inv_shared.cpp.o src/game/inv_shared.cpp -MP -MD -MT release-linux-riscv64/testall/game/inv_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/inv_shared.cpp:28: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/inv_shared.cpp: In member function ‘bool Item::isSameAs(const Item*) const’: src/game/inv_shared.cpp:551:9: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 551 | if (this == nullptr || other == nullptr) | ^~ ===> CXX [testall] src/game/inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/inventory.cpp.o src/game/inventory.cpp -MP -MD -MT release-linux-riscv64/testall/game/inventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/inventory.h:30, from src/game/inventory.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/inventory.cpp: In member function ‘void InventoryInterface::initInventory(const char*, const csi_t*, const inventoryImport_t*)’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class InventoryInterface’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/inventory.cpp:994:9: note: in expansion of macro ‘OBJZERO’ 994 | OBJZERO(*this); | ^~~~~~~ src/game/inventory.h:40:7: note: ‘class InventoryInterface’ declared here 40 | class InventoryInterface | ^~~~~~~~~~~~~~~~~~ src/game/inventory.cpp: In member function ‘void InventoryInterface::destroyInventoryInterface()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class InventoryInterface’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/inventory.cpp:1008:9: note: in expansion of macro ‘OBJZERO’ 1008 | OBJZERO(*this); | ^~~~~~~ src/game/inventory.h:40:7: note: ‘class InventoryInterface’ declared here 40 | class InventoryInterface | ^~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/game/lua/lapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lapi.cpp.o src/game/lua/lapi.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lapi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lapi.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lauxlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lauxlib.cpp.o src/game/lua/lauxlib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lauxlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lauxlib.cpp:23: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lbaselib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lbaselib.cpp.o src/game/lua/lbaselib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lbaselib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lbaselib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lcode.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lcode.cpp.o src/game/lua/lcode.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lcode.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lcode.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/lcode.cpp: In function ‘void luaK_goiftrue(FuncState*, expdesc*)’: src/game/lua/lcode.cpp:553:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 553 | if (!hasjumps(e)) { | ^~ src/game/lua/lcode.cpp:559:5: note: here 559 | default: { | ^~~~~~~ src/game/lua/lcode.cpp: In function ‘void luaK_goiffalse(FuncState*, expdesc*)’: src/game/lua/lcode.cpp:583:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 583 | if (!hasjumps(e)) { | ^~ src/game/lua/lcode.cpp:589:5: note: here 589 | default: { | ^~~~~~~ ===> CXX [testall] src/game/lua/ldblib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/ldblib.cpp.o src/game/lua/ldblib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/ldblib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldblib.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/ldebug.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/ldebug.cpp.o src/game/lua/ldebug.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/ldebug.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldebug.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/ldebug.cpp:21: src/game/lua/ldebug.cpp: In function ‘void luaG_errormsg(lua_State*)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldebug.cpp:620:21: note: in expansion of macro ‘restorestack’ 620 | StkId errfunc = restorestack(L, L->errfunc); | ^~~~~~~~~~~~ src/game/lua/ldebug.cpp: In function ‘Instruction symbexec(const Proto*, int, int)’: src/game/lua/ldebug.cpp:268:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | #define check(x) if (!(x)) return 0; | ^~ src/game/lua/ldebug.cpp:272:33: note: in expansion of macro ‘check’ 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) | ^~~~~ src/game/lua/ldebug.cpp:414:9: note: in expansion of macro ‘checkreg’ 414 | checkreg(pt, a+3); | ^~~~~~~~ src/game/lua/ldebug.cpp:416:7: note: here 416 | case OP_JMP: { | ^~~~ ===> CXX [testall] src/game/lua/ldo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/ldo.cpp.o src/game/lua/ldo.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/ldo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldo.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/ldo.cpp:18: src/game/lua/ldo.cpp: In function ‘void luaD_callhook(lua_State*, int, int)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:202:18: note: in expansion of macro ‘restorestack’ 202 | L->ci->top = restorestack(L, ci_top); | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:203:14: note: in expansion of macro ‘restorestack’ 203 | L->top = restorestack(L, top); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘TValue* tryfuncTM(lua_State*, StkId)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:252:10: note: in expansion of macro ‘restorestack’ 252 | func = restorestack(L, funcr); /* previous call may change stack */ | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘int luaD_precall(lua_State*, StkId, int)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:277:12: note: in expansion of macro ‘restorestack’ 277 | func = restorestack(L, funcr); | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:286:14: note: in expansion of macro ‘restorestack’ 286 | func = restorestack(L, funcr); /* previous call may change the stack */ | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:311:16: note: in expansion of macro ‘restorestack’ 311 | ci->func = restorestack(L, funcr); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘TValue* callrethooks(lua_State*, StkId)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:338:10: note: in expansion of macro ‘restorestack’ 338 | return restorestack(L, fr); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘int luaD_pcall(lua_State*, Pfunc, void*, ptrdiff_t, ptrdiff_t)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:465:20: note: in expansion of macro ‘restorestack’ 465 | StkId oldtop = restorestack(L, old_top); | ^~~~~~~~~~~~ src/game/lua/ldo.h:28:34: warning: cast from ‘char*’ to ‘CallInfo*’ increases required alignment of target type [-Wcast-align] 28 | #define restoreci(L,n) ((CallInfo *)((char*)L->base_ci + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:469:13: note: in expansion of macro ‘restoreci’ 469 | L->ci = restoreci(L, old_ci); | ^~~~~~~~~ ===> CXX [testall] src/game/lua/ldump.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/ldump.cpp.o src/game/lua/ldump.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/ldump.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldump.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ldump.cpp: In function ‘void DumpString(const TString*, DumpState*)’: src/game/lua/ldump.cpp:63:29: warning: comparing the result of pointer addition ‘(s + 24)’ and NULL [-Waddress] 63 | if (s==nullptr || getstr(s)==nullptr) ===> CXX [testall] src/game/lua/lfunc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lfunc.cpp.o src/game/lua/lfunc.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lfunc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lfunc.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lgc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lgc.cpp.o src/game/lua/lgc.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lgc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lgc.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/linit.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/linit.cpp.o src/game/lua/linit.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/linit.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/linit.cpp:11: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/liolib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/liolib.cpp.o src/game/lua/liolib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/liolib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/liolib.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/llex.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/llex.cpp.o src/game/lua/llex.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/llex.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/llex.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/llex.cpp: In function ‘int llex(LexState*, SemInfo*)’: src/game/lua/llex.cpp:375:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 375 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/llex.cpp:377:7: note: here 377 | case '=': { | ^~~~ ===> CXX [testall] src/game/lua/lmathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lmathlib.cpp.o src/game/lua/lmathlib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lmathlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lmathlib.cpp:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lmem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lmem.cpp.o src/game/lua/lmem.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lmem.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lmem.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/loadlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/loadlib.cpp.o src/game/lua/loadlib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/loadlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/loadlib.cpp:19: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lobject.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lobject.cpp.o src/game/lua/lobject.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lobject.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lobject.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lopcodes.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lopcodes.cpp.o src/game/lua/lopcodes.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lopcodes.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/llimits.h:15, from src/game/lua/lopcodes.h:10, from src/game/lua/lopcodes.cpp:11: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/loslib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/loslib.cpp.o src/game/lua/loslib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/loslib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/loslib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lparser.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lparser.cpp.o src/game/lua/lparser.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lparser.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lparser.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lstate.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lstate.cpp.o src/game/lua/lstate.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lstate.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstate.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/lobject.h:15, from src/game/lua/lstate.h:12, from src/game/lua/ldebug.h:11, from src/game/lua/lstate.cpp:15: src/game/lua/lstate.cpp: In function ‘lua_State* luaE_newthread(lua_State*)’: src/game/lua/llimits.h:75:26: warning: cast from ‘lu_byte*’ {aka ‘unsigned char*’} to ‘lua_State*’ increases required alignment of target type [-Wcast-align] 75 | #define cast(t, exp) ((t)(exp)) | ^~~~~~~~ src/game/lua/lstate.cpp:29:23: note: in expansion of macro ‘cast’ 29 | #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) | ^~~~ src/game/lua/lstate.cpp:120:19: note: in expansion of macro ‘tostate’ 120 | lua_State *L1 = tostate(luaM_malloc(L, state_size(lua_State))); | ^~~~~~~ src/game/lua/lstate.cpp: In function ‘lua_State* lua_newstate(lua_Alloc, void*)’: src/game/lua/llimits.h:75:26: warning: cast from ‘lu_byte*’ {aka ‘unsigned char*’} to ‘lua_State*’ increases required alignment of target type [-Wcast-align] 75 | #define cast(t, exp) ((t)(exp)) | ^~~~~~~~ src/game/lua/lstate.cpp:29:23: note: in expansion of macro ‘cast’ 29 | #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) | ^~~~ src/game/lua/lstate.cpp:149:7: note: in expansion of macro ‘tostate’ 149 | L = tostate(l); | ^~~~~~~ ===> CXX [testall] src/game/lua/lstring.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lstring.cpp.o src/game/lua/lstring.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lstring.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstring.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lstrlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lstrlib.cpp.o src/game/lua/lstrlib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lstrlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstrlib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/ltable.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/ltable.cpp.o src/game/lua/ltable.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/ltable.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltable.cpp:27: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ltable.cpp: In function ‘TValue* luaH_get(Table*, const TValue*)’: src/game/lua/ltable.cpp:480:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 480 | } | ^ src/game/lua/ltable.cpp:481:5: note: here 481 | default: { | ^~~~~~~ ===> CXX [testall] src/game/lua/ltablib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/ltablib.cpp.o src/game/lua/ltablib.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/ltablib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltablib.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ltablib.cpp: In function ‘void addfield(lua_State*, luaL_Buffer*, int)’: src/game/lua/ltablib.cpp:137:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 137 | if (!lua_isstring(L, -1)) | ^~ src/game/lua/ltablib.cpp:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 140 | luaL_addvalue(b); | ^~~~~~~~~~~~~ ===> CXX [testall] src/game/lua/ltm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/ltm.cpp.o src/game/lua/ltm.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/ltm.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltm.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lundump.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lundump.cpp.o src/game/lua/lundump.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lundump.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lundump.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/lvm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lvm.cpp.o src/game/lua/lvm.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lvm.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lvm.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/lvm.cpp:18: src/game/lua/lvm.cpp: In function ‘void callTMres(lua_State*, StkId, const TValue*, const TValue*, const TValue*)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/lvm.cpp:89:9: note: in expansion of macro ‘restorestack’ 89 | res = restorestack(L, result); | ^~~~~~~~~~~~ ===> CXX [testall] src/game/lua/lzio.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/lzio.cpp.o src/game/lua/lzio.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/lzio.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lzio.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/lua/print.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/lua/print.cpp.o src/game/lua/print.cpp -MP -MD -MT release-linux-riscv64/testall/game/lua/print.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstate.h:10, from src/game/lua/ldebug.h:11, from src/game/lua/print.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [testall] src/game/q_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/game/q_shared.cpp.o src/game/q_shared.cpp -MP -MD -MT release-linux-riscv64/testall/game/q_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/q_shared.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CC [testall] src/libs/mumble/libmumblelink.c "cc" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -std=c99 -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/libs/mumble/libmumblelink.c.o src/libs/mumble/libmumblelink.c -MP -MD -MT release-linux-riscv64/testall/libs/mumble/libmumblelink.c.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/features.h:502, from /usr/include/fcntl.h:25, from src/libs/mumble/libmumblelink.c:23: In function ‘mbstowcs’, inlined from ‘mumble_link’ at src/libs/mumble/libmumblelink.c:115:2: /usr/include/riscv64-linux-gnu/bits/stdlib.h:123:12: warning: call to ‘__mbstowcs_chk_warn’ declared with attribute warning: mbstowcs called with dst buffer smaller than len * sizeof (wchar_t) [-Wattribute-warning] 123 | return __glibc_fortify_n (mbstowcs, __len, sizeof (wchar_t), | ^~~~~~~~~~~~~~~~~ ===> CXX [testall] src/ports/unix/unix_console.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/ports/unix/unix_console.cpp.o src/ports/unix/unix_console.cpp -MP -MD -MT release-linux-riscv64/testall/ports/unix/unix_console.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_console.cpp:26: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_console.cpp: In function ‘void Sys_TTYConsoleShow()’: src/ports/unix/unix_console.cpp:106:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 106 | write(STDOUT_FILENO, "]", 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:110:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | write(STDOUT_FILENO, ttyConsoleHistory.buffer + i, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp: In function ‘void Sys_TTYDeleteCharacter()’: src/ports/unix/unix_console.cpp:79:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 79 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:81:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:83:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp: In function ‘const char* Sys_ConsoleInput()’: src/ports/unix/unix_console.cpp:300:46: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 300 | write(1, &key, 1); | ~~~~~^~~~~~~~~~~~ src/ports/unix/unix_console.cpp:301:46: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | write(1, "]", 1); | ~~~~~^~~~~~~~~~~ src/ports/unix/unix_console.cpp:360:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 360 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/ports/unix/unix_files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/ports/unix/unix_files.cpp.o src/ports/unix/unix_files.cpp -MP -MD -MT release-linux-riscv64/testall/ports/unix/unix_files.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_files.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/ports/unix/unix_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/ports/unix/unix_main.cpp.o src/ports/unix/unix_main.cpp -MP -MD -MT release-linux-riscv64/testall/ports/unix/unix_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_main.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/ports/unix/unix_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/ports/unix/unix_shared.cpp.o src/ports/unix/unix_shared.cpp -MP -MD -MT release-linux-riscv64/testall/ports/unix/unix_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_shared.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_shared.cpp: In function ‘void Sys_OpenURL(const char*)’: src/ports/unix/unix_shared.cpp:205:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | system(buf); | ~~~~~~^~~~~ ===> CXX [testall] src/server/sv_ccmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_ccmds.cpp.o src/server/sv_ccmds.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_ccmds.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_ccmds.cpp:31: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/server/sv_game.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_game.cpp.o src/server/sv_game.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_game.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_game.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/server/sv_init.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_init.cpp.o src/server/sv_init.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_init.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_init.cpp:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/server/sv_log.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_log.cpp.o src/server/sv_log.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_log.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_log.cpp:28: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/server/sv_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_main.cpp.o src/server/sv_main.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_main.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_main.cpp: In function ‘void SVC_DirectConnect(net_stream*)’: src/server/server.h:137:24: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘player_t*’ {aka ‘SrvPlayer*’} increases required alignment of target type [-Wcast-align] 137 | #define PLAYER_NUM(n) ((player_t*)((byte*)svs.ge->players + svs.ge->player_size * (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_main.cpp:498:29: note: in expansion of macro ‘PLAYER_NUM’ 498 | SrvPlayer *player = PLAYER_NUM(playernum); | ^~~~~~~~~~ src/server/sv_main.cpp: In function ‘void SV_Shutdown(const char*, bool)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_main.cpp:1049:9: note: in expansion of macro ‘OBJZERO’ 1049 | OBJZERO(*sv); | ^~~~~~~ src/server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/server/sv_mapcycle.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_mapcycle.cpp.o src/server/sv_mapcycle.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_mapcycle.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_mapcycle.cpp:1: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/server/sv_rma.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_rma.cpp.o src/server/sv_rma.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_rma.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_rma.cpp:32: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_rma.cpp: In function ‘bool SV_AddMapTiles(MapInfo*)’: src/server/sv_rma.cpp:1672:74: warning: the address of ‘Assembly::id’ will never be NULL [-Waddress] 1672 | map->name, mAsm->id ? mAsm->id : ""); | ~~~~~~^~ In file included from src/server/sv_rma.cpp:33: src/server/sv_rma.h:71:14: note: ‘Assembly::id’ declared here 71 | char id[MAX_VAR]; /**< The id (string) of the assembly as defined in the ump file (next to "assembly"). */ | ^~ src/server/sv_rma.cpp:1675:74: warning: the address of ‘Assembly::id’ will never be NULL [-Waddress] 1675 | map->name, mAsm->id ? mAsm->id : ""); | ~~~~~~^~ src/server/sv_rma.h:71:14: note: ‘Assembly::id’ declared here 71 | char id[MAX_VAR]; /**< The id (string) of the assembly as defined in the ump file (next to "assembly"). */ | ^~ ===> CXX [testall] src/server/sv_send.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_send.cpp.o src/server/sv_send.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_send.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_send.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/server/sv_user.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_user.cpp.o src/server/sv_user.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_user.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_user.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/server/sv_world.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/server/sv_world.cpp.o src/server/sv_world.cpp -MP -MD -MT release-linux-riscv64/testall/server/sv_world.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_world.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_world.cpp: In function ‘trace_t SV_Trace(const vec_t*, const AABB&, const vec_t*, const edict_t*, int)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘moveclip_t’ {aka ‘struct moveclip_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_world.cpp:463:9: note: in expansion of macro ‘OBJZERO’ 463 | OBJZERO(clip); | ^~~~~~~ src/server/sv_world.cpp:277:16: note: ‘moveclip_t’ {aka ‘struct moveclip_s’} declared here 277 | typedef struct moveclip_s { | ^~~~~~~~~~ src/server/sv_world.cpp: In function ‘void SV_ModLoadAliasMD2Model(sv_model_t*, const byte*)’: src/server/sv_world.cpp:526:34: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 526 | const dMD2Model_t* md2 = (const dMD2Model_t*)buffer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp:529:36: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 529 | const dMD2Frame_t* frame = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + mod->frame * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp: In function ‘void SV_ModLoadAliasMD3Model(sv_model_t*, const byte*)’: src/server/sv_world.cpp:553:29: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3_t*’ increases required alignment of target type [-Wcast-align] 553 | const dmd3_t* md3 = (const dmd3_t*)buffer; | ^~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp:554:36: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3frame_t*’ increases required alignment of target type [-Wcast-align] 554 | const dmd3frame_t* frame = (const dmd3frame_t*)((const byte*)md3 + LittleLong(md3->ofs_frames)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp: In function ‘bool SV_LoadModelAABB(const char*, int, AABB&)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘sv_model_t’ {aka ‘struct sv_model_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_world.cpp:648:9: note: in expansion of macro ‘OBJZERO’ 648 | OBJZERO(*mod); | ^~~~~~~ src/server/server.h:47:16: note: ‘sv_model_t’ {aka ‘struct sv_model_s’} declared here 47 | typedef struct sv_model_s { | ^~~~~~~~~~ In file included from src/server/../common/../shared/byte.h:30, from src/server/../common/common.h:29: src/server/sv_world.cpp:654:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 654 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/server/sv_world.cpp:654:17: note: in expansion of macro ‘LittleLong’ 654 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ ===> CXX [testall] src/shared/aabb.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/aabb.cpp.o src/shared/aabb.cpp -MP -MD -MT release-linux-riscv64/testall/shared/aabb.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [testall] src/shared/bfd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/bfd.cpp.o src/shared/bfd.cpp -MP -MD -MT release-linux-riscv64/testall/shared/bfd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/bfd.cpp:28: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/shared/byte.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/byte.cpp.o src/shared/byte.cpp -MP -MD -MT release-linux-riscv64/testall/shared/byte.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/byte.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/shared/entitiesdef.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/entitiesdef.cpp.o src/shared/entitiesdef.cpp -MP -MD -MT release-linux-riscv64/testall/shared/entitiesdef.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/shared.h:54, from src/shared/entitiesdef.cpp:34: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/entitiesdef.cpp: In function ‘int ED_CheckNumericType(const entityKeyDef_t*, const char*, int)’: src/shared/entitiesdef.cpp:330:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 64 equals destination size [-Wstringop-truncation] 330 | strncpy(tokBuf, value, sizeof(tokBuf)); | ^ src/shared/entitiesdef.cpp:87:24: warning: ‘char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)’ output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Wstringop-truncation] 87 | strncat(lastErr, lastErrExtra, sizeof(lastErr) - strlen(lastErr) -1); \ | ^ src/shared/entitiesdef.cpp:338:17: note: in expansion of macro ‘ED_PASS_ERROR_EXTRAMSG’ 338 | ED_PASS_ERROR_EXTRAMSG(ED_CheckNumber(tok, type, keyDef->flags & ED_INSIST_POSITIVE, &parsedNumber), | ^~~~~~~~~~~~~~~~~~~~~~ src/shared/entitiesdef.cpp: In function ‘int ED_Parse(const char*)’: src/shared/entitiesdef.cpp:87:24: warning: ‘char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)’ output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Wstringop-truncation] 87 | strncat(lastErr, lastErrExtra, sizeof(lastErr) - strlen(lastErr) -1); \ | ^ src/shared/entitiesdef.cpp:654:33: note: in expansion of macro ‘ED_PASS_ERROR_EXTRAMSG’ 654 | ED_PASS_ERROR_EXTRAMSG(ED_CheckKey(kd, kd->defaultVal), | ^~~~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/shared/images.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/images.cpp.o src/shared/images.cpp -MP -MD -MT release-linux-riscv64/testall/shared/images.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/shared.h:54, from src/shared/images.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/shared/infostring.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/infostring.cpp.o src/shared/infostring.cpp -MP -MD -MT release-linux-riscv64/testall/shared/infostring.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/infostring.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/shared/mathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/mathlib.cpp.o src/shared/mathlib.cpp -MP -MD -MT release-linux-riscv64/testall/shared/mathlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/mathlib.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/mathlib.cpp: In function ‘void RotatePointAroundVector(vec_t*, const vec_t*, const vec_t*, float)’: src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ===> CXX [testall] src/shared/mathlib_extra.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/mathlib_extra.cpp.o src/shared/mathlib_extra.cpp -MP -MD -MT release-linux-riscv64/testall/shared/mathlib_extra.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [testall] src/shared/parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/parse.cpp.o src/shared/parse.cpp -MP -MD -MT release-linux-riscv64/testall/shared/parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/parse.h:31, from src/shared/parse.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/shared/shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/shared.cpp.o src/shared/shared.cpp -MP -MD -MT release-linux-riscv64/testall/shared/shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/shared.h:54, from src/shared/shared.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/shared.cpp: In function ‘int Com_FilterAfterStar(const char*, const char*)’: src/shared/shared.cpp:108:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:108:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:109:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^ src/shared/shared.cpp:109:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^~ src/shared/shared.cpp: In function ‘int Com_Filter(const char*, const char*)’: src/shared/shared.cpp:147:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:147:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:148:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 148 | register char c; | ^ src/shared/shared.cpp:169:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | register char c1 = *t++; | ^~ src/shared/shared.cpp:181:55: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~~~ src/shared/shared.cpp:181:67: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~ ===> CXX [testall] src/shared/stringhunk.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/stringhunk.cpp.o src/shared/stringhunk.cpp -MP -MD -MT release-linux-riscv64/testall/shared/stringhunk.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/stringhunk.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/shared/utf8.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/shared/utf8.cpp.o src/shared/utf8.cpp -MP -MD -MT release-linux-riscv64/testall/shared/utf8.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [testall] src/tests/test_all.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_all.cpp.o src/tests/test_all.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_all.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_all.cpp:33: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_campaign.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_campaign.cpp.o src/tests/test_campaign.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_campaign.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_campaign.cpp:25: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../client/cl_renderer.h:29, from src/tests/../client/client.h:32, from src/tests/test_campaign.cpp:27: src/tests/../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tests/../client/renderer/r_gl.h:32, from src/tests/../client/renderer/r_image.h:28, from src/tests/../client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tests/../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../client/renderer/r_model.h:30, from src/tests/../client/cl_renderer.h:28: src/tests/../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/tests/test_campaign.cpp: In function ‘int UFO_InitSuiteCampaign()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘client_static_t’ {aka ‘struct client_static_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_campaign.cpp:111:9: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(cls); | ^~~~~~~ src/tests/../client/client.h:54:16: note: ‘client_static_t’ {aka ‘struct client_static_s’} declared here 54 | typedef struct client_static_s { | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/tests/test_character.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_character.cpp.o src/tests/test_character.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_character.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_character.cpp:27: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_dbuffer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_dbuffer.cpp.o src/tests/test_dbuffer.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_dbuffer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_dbuffer.cpp:27: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_events.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_events.cpp.o src/tests/test_events.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_events.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_events.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_game.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_game.cpp.o src/tests/test_game.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_game.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_game.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../game/lua/lua.h:16, from src/tests/../game/g_local.h:34, from src/tests/test_game.cpp:29: src/tests/../game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/tests/../client/renderer/r_state.h:28, from src/tests/test_game.cpp:36: src/tests/../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tests/../client/renderer/r_gl.h:32, from src/tests/../client/renderer/r_program.h:24: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tests/../game/g_edict.h: In member function ‘void Edict::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../game/g_local.h:317: src/tests/../game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/tests/test_game.cpp: In function ‘void testDoorTrigger()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_game.cpp:108:17: note: in expansion of macro ‘OBJZERO’ 108 | OBJZERO(*sv); | ^~~~~~~ In file included from src/tests/test_game.cpp:35: src/tests/../server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ src/tests/test_game.cpp: In function ‘void testShooting()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_game.cpp:141:17: note: in expansion of macro ‘OBJZERO’ 141 | OBJZERO(*sv); | ^~~~~~~ src/tests/../server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ src/tests/test_game.cpp: In function ‘void testVisFlags()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_game.cpp:173:17: note: in expansion of macro ‘OBJZERO’ 173 | OBJZERO(*sv); | ^~~~~~~ src/tests/../server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ src/tests/test_game.cpp: In function ‘void testInventoryForDiedAlien()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_game.cpp:206:17: note: in expansion of macro ‘OBJZERO’ 206 | OBJZERO(*sv); | ^~~~~~~ src/tests/../server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ src/tests/test_game.cpp: In function ‘void testInventoryWithTwoDiedAliensOnTheSameGridTile()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_game.cpp:271:17: note: in expansion of macro ‘OBJZERO’ 271 | OBJZERO(*sv); | ^~~~~~~ src/tests/../server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ src/tests/test_game.cpp: In function ‘void testInventoryTempContainerLinks()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_game.cpp:348:17: note: in expansion of macro ‘OBJZERO’ 348 | OBJZERO(*sv); | ^~~~~~~ src/tests/../server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/tests/test_generic.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_generic.cpp.o src/tests/test_generic.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_generic.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_generic.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_inventory.cpp.o src/tests/test_inventory.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_inventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_inventory.cpp:27: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_mapdef.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_mapdef.cpp.o src/tests/test_mapdef.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_mapdef.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_mapdef.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../client/cl_renderer.h:29, from src/tests/../client/client.h:32, from src/tests/test_mapdef.cpp:28: src/tests/../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tests/../client/renderer/r_gl.h:32, from src/tests/../client/renderer/r_image.h:28, from src/tests/../client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tests/../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../client/renderer/r_model.h:30, from src/tests/../client/cl_renderer.h:28: src/tests/../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/tests/test_mapdef.cpp: In function ‘int UFO_InitSuiteMapDef()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘client_static_t’ {aka ‘struct client_static_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_mapdef.cpp:60:9: note: in expansion of macro ‘OBJZERO’ 60 | OBJZERO(cls); | ^~~~~~~ src/tests/../client/client.h:54:16: note: ‘client_static_t’ {aka ‘struct client_static_s’} declared here 54 | typedef struct client_static_s { | ^~~~~~~~~~~~~~~ src/tests/test_mapdef.cpp: In function ‘void testMapDefsMassRMA()’: src/tests/test_mapdef.cpp:162:51: warning: typedef ‘skip_info’ locally defined but not used [-Wunused-local-typedefs] 162 | } skip_info; | ^~~~~~~~~ In file included from src/tests/test_mapdef.cpp:33: src/tests/test_mapdef.cpp: In function ‘void testMapDefsMultiplayer()’: src/tests/../server/server.h:137:24: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘player_t*’ {aka ‘SrvPlayer*’} increases required alignment of target type [-Wcast-align] 137 | #define PLAYER_NUM(n) ((player_t*)((byte*)svs.ge->players + svs.ge->player_size * (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/test_mapdef.cpp:482:34: note: in expansion of macro ‘PLAYER_NUM’ 482 | player = PLAYER_NUM(0); | ^~~~~~~~~~ src/tests/../server/server.h:137:24: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘player_t*’ {aka ‘SrvPlayer*’} increases required alignment of target type [-Wcast-align] 137 | #define PLAYER_NUM(n) ((player_t*)((byte*)svs.ge->players + svs.ge->player_size * (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/test_mapdef.cpp:492:42: note: in expansion of macro ‘PLAYER_NUM’ 492 | player = PLAYER_NUM(0); | ^~~~~~~~~~ ===> CXX [testall] src/tests/test_mathlibextra.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_mathlibextra.cpp.o src/tests/test_mathlibextra.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_mathlibextra.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_mathlibextra.cpp:27: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_parser.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_parser.cpp.o src/tests/test_parser.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_parser.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_parser.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_particles.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_particles.cpp.o src/tests/test_particles.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_particles.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_particles.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../client/cl_renderer.h:29, from src/tests/../client/client.h:32, from src/tests/test_particles.cpp:28: src/tests/../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tests/../client/renderer/r_gl.h:32, from src/tests/../client/renderer/r_image.h:28, from src/tests/../client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tests/../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../client/renderer/r_model.h:30, from src/tests/../client/cl_renderer.h:28: src/tests/../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/tests/test_particles.cpp: In function ‘int UFO_InitSuiteParticles()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘client_static_t’ {aka ‘struct client_static_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_particles.cpp:49:9: note: in expansion of macro ‘OBJZERO’ 49 | OBJZERO(cls); | ^~~~~~~ src/tests/../client/client.h:54:16: note: ‘client_static_t’ {aka ‘struct client_static_s’} declared here 54 | typedef struct client_static_s { | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/tests/test_renderer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_renderer.cpp.o src/tests/test_renderer.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_renderer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_renderer.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../client/renderer/r_model.h:30, from src/tests/test_renderer.cpp:30: src/tests/../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/tests/test_rma.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_rma.cpp.o src/tests/test_rma.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_rma.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_rma.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_routing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_routing.cpp.o src/tests/test_routing.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_routing.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_routing.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../game/lua/lua.h:16, from src/tests/../game/g_local.h:34, from src/tests/test_routing.cpp:31: src/tests/../game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/tests/../game/g_edict.h: In member function ‘void Edict::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../game/g_local.h:317: src/tests/../game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [testall] src/tests/test_scripts.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_scripts.cpp.o src/tests/test_scripts.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_scripts.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_scripts.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../client/cl_renderer.h:29, from src/tests/../client/client.h:32, from src/tests/test_scripts.cpp:28: src/tests/../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tests/../client/renderer/r_gl.h:32, from src/tests/../client/renderer/r_image.h:28, from src/tests/../client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tests/../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../client/renderer/r_model.h:30, from src/tests/../client/cl_renderer.h:28: src/tests/../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/tests/test_scripts.cpp: In function ‘int UFO_InitSuiteScripts()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘client_static_t’ {aka ‘struct client_static_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/test_scripts.cpp:49:9: note: in expansion of macro ‘OBJZERO’ 49 | OBJZERO(cls); | ^~~~~~~ src/tests/../client/client.h:54:16: note: ‘client_static_t’ {aka ‘struct client_static_s’} declared here 54 | typedef struct client_static_s { | ^~~~~~~~~~~~~~~ ===> CXX [testall] src/tests/test_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_shared.cpp.o src/tests/test_shared.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_shared.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../client/cl_renderer.h:29, from src/tests/test_shared.cpp:27: src/tests/../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tests/../client/renderer/r_gl.h:32, from src/tests/../client/renderer/r_image.h:28, from src/tests/../client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tests/../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../client/renderer/r_model.h:30, from src/tests/../client/cl_renderer.h:28: src/tests/../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/tests/test_ui.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_ui.cpp.o src/tests/test_ui.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_ui.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_ui.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [testall] src/tests/test_ui_level2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_ui_level2.cpp.o src/tests/test_ui_level2.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_ui_level2.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_ui_level2.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tests/../client/ui/node/../../cl_renderer.h:29, from src/tests/../client/ui/node/ui_node_model.h:29, from src/tests/../client/ui/ui_internal.h:36, from src/tests/test_ui_level2.cpp:29: src/tests/../client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tests/../client/ui/node/../../renderer/r_gl.h:32, from src/tests/../client/ui/node/../../renderer/r_image.h:28, from src/tests/../client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tests/../client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tests/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tests/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tests/../client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tests/../client/ui/node/../../renderer/r_model.h:30, from src/tests/../client/ui/node/../../cl_renderer.h:28: src/tests/../client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [testall] src/tests/test_webapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -c -o release-linux-riscv64/testall/tests/test_webapi.cpp.o src/tests/test_webapi.cpp -MP -MD -MT release-linux-riscv64/testall/tests/test_webapi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/tests/../common/../shared/shared.h:54, from src/tests/../common/common.h:30, from src/tests/test_shared.h:28, from src/tests/test_webapi.cpp:26: src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tests/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] mkdir -p release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/ release-linux-riscv64/ufo2map/tools/ufo2map/check/ release-linux-riscv64/ufo2map/tools/ufo2map/check/ release-linux-riscv64/ufo2map/tools/ufo2map/check/ release-linux-riscv64/ufo2map/tools/ufo2map/common/ release-linux-riscv64/ufo2map/tools/ufo2map/common/ release-linux-riscv64/ufo2map/tools/ufo2map/common/ release-linux-riscv64/ufo2map/tools/ufo2map/common/ release-linux-riscv64/ufo2map/tools/ufo2map/common/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/shared/ release-linux-riscv64/ufo2map/common/ release-linux-riscv64/ufo2map/common/ release-linux-riscv64/ufo2map/common/ release-linux-riscv64/ufo2map/common/ release-linux-riscv64/ufo2map/common/ release-linux-riscv64/ufo2map/common/ release-linux-riscv64/ufo2map/common/ release-linux-riscv64/ufo2map/ports/unix/ release-linux-riscv64/ufo2map/ports/unix/ release-linux-riscv64/ufo2map/ports/unix/ touch release-linux-riscv64/ufo2map/.dirs ===> CXX [ufo2map] src/tools/ufo2map/ufo2map.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/ufo2map.cpp.o src/tools/ufo2map/ufo2map.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/ufo2map.cpp.o In file included from /usr/include/riscv64-linux-gnu/sys/resource.h:21, from src/tools/ufo2map/ufo2map.cpp:37: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/lighting.h:27, from src/tools/ufo2map/ufo2map.cpp:40: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/ufo2map.cpp: In function ‘int main(int, char**)’: src/tools/ufo2map/ufo2map.cpp:583:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 583 | strncpy(baseFilename, mapFilename, sizeof(baseFilename) - 1); | ^ src/tools/ufo2map/ufo2map.cpp:584:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 584 | strncpy(bspFilename, mapFilename, sizeof(bspFilename) - 1); | ^ ===> CXX [ufo2map] src/tools/ufo2map/lighting.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/lighting.cpp.o src/tools/ufo2map/lighting.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/lighting.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/lighting.h:27, from src/tools/ufo2map/lighting.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/bsp.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/bsp.cpp.o src/tools/ufo2map/bsp.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/bsp.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/bsp.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/bspbrush.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/bspbrush.cpp.o src/tools/ufo2map/bspbrush.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/bspbrush.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/bspbrush.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/csg.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/csg.cpp.o src/tools/ufo2map/csg.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/csg.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/csg.cpp:48: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/faces.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/faces.cpp.o src/tools/ufo2map/faces.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/faces.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/faces.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/levels.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/levels.cpp.o src/tools/ufo2map/levels.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/levels.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/levels.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/lightmap.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/lightmap.cpp.o src/tools/ufo2map/lightmap.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/lightmap.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/lighting.h:27, from src/tools/ufo2map/lightmap.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/map.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/map.cpp.o src/tools/ufo2map/map.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/map.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/../../shared/ufotypes.h:32, from src/tools/ufo2map/../../shared/mathlib.h:27, from src/tools/ufo2map/map.h:29, from src/tools/ufo2map/map.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32, from src/tools/ufo2map/map.cpp:27: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/patches.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/patches.cpp.o src/tools/ufo2map/patches.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/patches.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/lighting.h:27, from src/tools/ufo2map/patches.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/portals.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/portals.cpp.o src/tools/ufo2map/portals.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/portals.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/portals.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/routing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/routing.cpp.o src/tools/ufo2map/routing.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/routing.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/routing.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/textures.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/textures.cpp.o src/tools/ufo2map/textures.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/textures.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/textures.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/tree.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/tree.cpp.o src/tools/ufo2map/tree.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/tree.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/tree.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/threads.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/threads.cpp.o src/tools/ufo2map/threads.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/threads.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/threads.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/writebsp.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/writebsp.cpp.o src/tools/ufo2map/writebsp.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/writebsp.cpp.o In file included from /usr/include/assert.h:35, from src/tools/ufo2map/bsp.h:27, from src/tools/ufo2map/writebsp.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/bsp.h:32: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/check/checkentities.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/check/checkentities.cpp.o src/tools/ufo2map/check/checkentities.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/check/checkentities.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/check/../../../shared/ufotypes.h:32, from src/tools/ufo2map/check/../../../shared/mathlib.h:27, from src/tools/ufo2map/check/../map.h:29, from src/tools/ufo2map/check/checkentities.h:29, from src/tools/ufo2map/check/checkentities.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/check/../common/../../../shared/shared.h:54, from src/tools/ufo2map/check/../common/shared.h:31, from src/tools/ufo2map/check/checkentities.cpp:30: src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/check/checklib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/check/checklib.cpp.o src/tools/ufo2map/check/checklib.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/check/checklib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/check/../common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/check/../common/shared.h:27, from src/tools/ufo2map/check/checklib.h:29, from src/tools/ufo2map/check/checklib.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/check/../common/../../../shared/shared.h:54, from src/tools/ufo2map/check/../common/shared.h:31: src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/check/check.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/check/check.cpp.o src/tools/ufo2map/check/check.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/check/check.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/check/../../../shared/ufotypes.h:32, from src/tools/ufo2map/check/../../../shared/mathlib.h:27, from src/tools/ufo2map/check/../map.h:29, from src/tools/ufo2map/check/check.h:29, from src/tools/ufo2map/check/check.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/check/../common/../../../shared/shared.h:54, from src/tools/ufo2map/check/../common/shared.h:31, from src/tools/ufo2map/check/check.cpp:29: src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/check/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/common/aselib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/common/aselib.cpp.o src/tools/ufo2map/common/aselib.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/common/aselib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/../../../shared/mathlib.h:27, from src/tools/ufo2map/common/aselib.h:28, from src/tools/ufo2map/common/aselib.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../common/../../../shared/shared.h:54, from src/tools/ufo2map/common/../common/shared.h:31, from src/tools/ufo2map/common/../bsp.h:32, from src/tools/ufo2map/common/aselib.cpp:28: src/tools/ufo2map/common/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/common/bspfile.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/common/bspfile.cpp.o src/tools/ufo2map/common/bspfile.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/common/bspfile.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/common/bspfile.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/common/polylib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/common/polylib.cpp.o src/tools/ufo2map/common/polylib.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/common/polylib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/../../../shared/mathlib.h:27, from src/tools/ufo2map/common/polylib.h:27, from src/tools/ufo2map/common/polylib.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31, from src/tools/ufo2map/common/polylib.cpp:28: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/tools/ufo2map/common/scriplib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/common/scriplib.cpp.o src/tools/ufo2map/common/scriplib.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/common/scriplib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/common/scriplib.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/scriplib.cpp: In function ‘void LoadScriptFile(const char*)’: src/tools/ufo2map/common/scriplib.cpp:49:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 49 | strncpy(script.filename, filename, sizeof(script.filename)); | ^ ===> CXX [ufo2map] src/tools/ufo2map/common/trace.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/tools/ufo2map/common/trace.cpp.o src/tools/ufo2map/common/trace.cpp -MP -MD -MT release-linux-riscv64/ufo2map/tools/ufo2map/common/trace.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/common/trace.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/shared/mathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/mathlib.cpp.o src/shared/mathlib.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/mathlib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/mathlib.h:27, from src/shared/mathlib.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/mathlib.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/mathlib.cpp: In function ‘void RotatePointAroundVector(vec_t*, const vec_t*, const vec_t*, float)’: src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ===> CXX [ufo2map] src/shared/aabb.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/aabb.cpp.o src/shared/aabb.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/aabb.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/aabb.h:27, from src/shared/aabb.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/shared/byte.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/byte.cpp.o src/shared/byte.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/byte.cpp.o In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:34, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/byte.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/shared/images.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/images.cpp.o src/shared/images.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/images.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/images.h:29, from src/shared/images.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54, from src/shared/images.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/shared/parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/parse.cpp.o src/shared/parse.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/parse.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/parse.h:30, from src/shared/parse.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/parse.h:31: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/shared/shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/shared.cpp.o src/shared/shared.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/shared.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/shared/../../config.h:3, from src/shared/shared.h:32, from src/shared/shared.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/shared.cpp: In function ‘int Com_FilterAfterStar(const char*, const char*)’: src/shared/shared.cpp:108:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:108:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:109:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^ src/shared/shared.cpp:109:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^~ src/shared/shared.cpp: In function ‘int Com_Filter(const char*, const char*)’: src/shared/shared.cpp:147:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:147:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:148:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 148 | register char c; | ^ src/shared/shared.cpp:169:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | register char c1 = *t++; | ^~ src/shared/shared.cpp:181:55: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~~~ src/shared/shared.cpp:181:67: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~ ===> CXX [ufo2map] src/shared/entitiesdef.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/entitiesdef.cpp.o src/shared/entitiesdef.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/entitiesdef.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/shared/entitiesdef.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54, from src/shared/entitiesdef.cpp:34: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/entitiesdef.cpp: In function ‘int ED_CheckNumericType(const entityKeyDef_t*, const char*, int)’: src/shared/entitiesdef.cpp:330:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 64 equals destination size [-Wstringop-truncation] 330 | strncpy(tokBuf, value, sizeof(tokBuf)); | ^ src/shared/entitiesdef.cpp:87:24: warning: ‘char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)’ output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Wstringop-truncation] 87 | strncat(lastErr, lastErrExtra, sizeof(lastErr) - strlen(lastErr) -1); \ | ^ src/shared/entitiesdef.cpp:338:17: note: in expansion of macro ‘ED_PASS_ERROR_EXTRAMSG’ 338 | ED_PASS_ERROR_EXTRAMSG(ED_CheckNumber(tok, type, keyDef->flags & ED_INSIST_POSITIVE, &parsedNumber), | ^~~~~~~~~~~~~~~~~~~~~~ src/shared/entitiesdef.cpp: In function ‘int ED_Parse(const char*)’: src/shared/entitiesdef.cpp:87:24: warning: ‘char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)’ output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Wstringop-truncation] 87 | strncat(lastErr, lastErrExtra, sizeof(lastErr) - strlen(lastErr) -1); \ | ^ src/shared/entitiesdef.cpp:654:33: note: in expansion of macro ‘ED_PASS_ERROR_EXTRAMSG’ 654 | ED_PASS_ERROR_EXTRAMSG(ED_CheckKey(kd, kd->defaultVal), | ^~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo2map] src/shared/utf8.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/shared/utf8.cpp.o src/shared/utf8.cpp -MP -MD -MT release-linux-riscv64/ufo2map/shared/utf8.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/shared/utf8.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/common/files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/common/files.cpp.o src/common/files.cpp -MP -MD -MT release-linux-riscv64/ufo2map/common/files.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/files.cpp:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/common/list.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/common/list.cpp.o src/common/list.cpp -MP -MD -MT release-linux-riscv64/ufo2map/common/list.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/list.h:28, from src/common/list.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/list.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/common/mem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/common/mem.cpp.o src/common/mem.cpp -MP -MD -MT release-linux-riscv64/ufo2map/common/mem.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/mem.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/mem.cpp: In function ‘memBlockFoot_t* Mem_BlockToFooter(memBlock_t*)’: src/common/mem.cpp:177:16: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘memBlockFoot_t*’ increases required alignment of target type [-Wcast-align] 177 | return reinterpret_cast(reinterpret_cast(Mem_BlockToPtr(mem)) + mem->memSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo2map] src/common/unzip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/common/unzip.cpp.o src/common/unzip.cpp -MP -MD -MT release-linux-riscv64/ufo2map/common/unzip.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from /usr/include/zconf.h:428, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/common/tracing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/common/tracing.cpp.o src/common/tracing.cpp -MP -MD -MT release-linux-riscv64/ufo2map/common/tracing.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/../shared/mathlib.h:27, from src/common/../shared/typedefs.h:4, from src/common/tracing.h:30, from src/common/tracing.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/../shared/typedefs.h:5: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/common/routing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/common/routing.cpp.o src/common/routing.cpp -MP -MD -MT release-linux-riscv64/ufo2map/common/routing.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/routing.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/routing.cpp: In function ‘int RT_MicroTrace(RoutingData*, const place_t*, int, int, int, int, opening_t*)’: src/common/routing.cpp:1145:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1145 | if (bases[5] <= middle && /* same for the 2nd part of the passage */ | ^~ src/common/routing.cpp:1150:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1150 | return opening->base - middle; | ^~~~~~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:28: warning: ‘hi’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~^~~~~~~~~~~~~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1169:13: note: ‘hi’ declared here 1169 | int hi; /**< absolute ceiling of the passage found. */ | ^~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:39: warning: ‘opening.opening_s::base’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~~~~~~~^~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1341:19: note: ‘opening’ declared here 1341 | opening_t opening; /** the opening between the two cells */ | ^~~~~~~ ===> CXX [ufo2map] src/common/ioapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/common/ioapi.cpp.o src/common/ioapi.cpp -MP -MD -MT release-linux-riscv64/ufo2map/common/ioapi.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/common/ioapi.cpp:9: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/ports/unix/unix_files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/ports/unix/unix_files.cpp.o src/ports/unix/unix_files.cpp -MP -MD -MT release-linux-riscv64/ufo2map/ports/unix/unix_files.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_files.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_files.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo2map] src/ports/unix/unix_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/ports/unix/unix_shared.cpp.o src/ports/unix/unix_shared.cpp -MP -MD -MT release-linux-riscv64/ufo2map/ports/unix/unix_shared.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_shared.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_shared.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_shared.cpp: In function ‘void Sys_OpenURL(const char*)’: src/ports/unix/unix_shared.cpp:205:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | system(buf); | ~~~~~~^~~~~ ===> CXX [ufo2map] src/ports/unix/unix_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufo2map/ports/unix/unix_main.cpp.o src/ports/unix/unix_main.cpp -MP -MD -MT release-linux-riscv64/ufo2map/ports/unix/unix_main.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_main.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_main.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> LD [ufo2map] mkdir -p ./ "c++" release-linux-riscv64/ufo2map/tools/ufo2map/ufo2map.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/lighting.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/bsp.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/bspbrush.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/csg.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/faces.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/levels.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/lightmap.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/map.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/patches.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/portals.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/routing.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/textures.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/tree.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/threads.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/writebsp.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/check/checkentities.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/check/checklib.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/check/check.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/common/aselib.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/common/bspfile.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/common/polylib.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/common/scriplib.cpp.o release-linux-riscv64/ufo2map/tools/ufo2map/common/trace.cpp.o release-linux-riscv64/ufo2map/shared/mathlib.cpp.o release-linux-riscv64/ufo2map/shared/aabb.cpp.o release-linux-riscv64/ufo2map/shared/byte.cpp.o release-linux-riscv64/ufo2map/shared/images.cpp.o release-linux-riscv64/ufo2map/shared/parse.cpp.o release-linux-riscv64/ufo2map/shared/shared.cpp.o release-linux-riscv64/ufo2map/shared/entitiesdef.cpp.o release-linux-riscv64/ufo2map/shared/utf8.cpp.o release-linux-riscv64/ufo2map/common/files.cpp.o release-linux-riscv64/ufo2map/common/list.cpp.o release-linux-riscv64/ufo2map/common/mem.cpp.o release-linux-riscv64/ufo2map/common/unzip.cpp.o release-linux-riscv64/ufo2map/common/tracing.cpp.o release-linux-riscv64/ufo2map/common/routing.cpp.o release-linux-riscv64/ufo2map/common/ioapi.cpp.o release-linux-riscv64/ufo2map/ports/unix/unix_files.cpp.o release-linux-riscv64/ufo2map/ports/unix/unix_shared.cpp.o release-linux-riscv64/ufo2map/ports/unix/unix_main.cpp.o -lm -lpng -ljpeg -lz -lSDL2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o ufo2map ./ufo2map -gamedir unittest -v 4 -nice 19 -quant 4 -soft maps/test_routing.map additional gamedir = unittest verbosity = 4 nice = 19 extrasamples = true soft = true ---- ufo2map 1.2.6 ---- ---- endianness initialization ----- found little endian system path: 'maps/test_routing.map' ---- filesystem initialization ----- Adding game dir: /usr/share/games/ufoai/base Adding game dir: ./base "mkdir /sbuild-nonexistent" failed, reason: "Permission denied"."mkdir /sbuild-nonexistent/.ufoai" failed, reason: "No such file or directory"."mkdir /sbuild-nonexistent/.ufoai/2.5" failed, reason: "No such file or directory"."mkdir /sbuild-nonexistent/.ufoai/2.5/base" failed, reason: "No such file or directory".Adding game dir: /sbuild-nonexistent/.ufoai/2.5/base using ./base for writing change writing directory to unittest Adding game dir: unittest ...map: 'maps/test_routing.map' ...bsp: 'maps/test_routing.bsp' LEVEL: 0...\1...|/2...-3...\|4.../5...-\6...|7.../-8...\9...|/ (time: 0s, #: 259) UNITCHECK: 0...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-1...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-2...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-3...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-4...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-5...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-6...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-7...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-8...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-9...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\ (time: 0s, #: 131072) CONNCHECK: 0...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|1.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-2...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|3.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\4...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/5...-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\6...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-7...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|8.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-9...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/ (time: 1s, #: 1048576) Writing maps/test_routing.bsp 1 seconds elapsed ----- Lighting ---- Couldn't load textures/tex_buildings/ceiling_slate Couldn't load textures/tex_common/nodraw Couldn't load textures/tex_buildings/carpet006 Couldn't load textures/tex_common/lightclip Couldn't load textures/tex_common/no Couldn't load textures/tex_misc/exit_clean Couldn't load textures/tex_material/conc02 Couldn't load textures/tex_trak/trim9c Couldn't load textures/tex_common/actorclip Couldn't load textures/tex_common/origin Couldn't load textures/tex_doors/door013 Couldn't load textures/tex_buildings/metal_duct_rust Couldn't load textures/tex_material/metall002 Couldn't load textures/tex_buildings/window013 Couldn't load textures/tex_alienb/ab_metal01 Couldn't load textures/tex_common/trigger Couldn't load textures/tex_buildings/ceiling 0 direct lights for night lightmap FACELIGHTS: 0...\1...|/2...-\3...|4.../-5...\|6.../7...-\8...|/9...- (time: 0s, #: 284) FINALLIGHT: 0...\1...|/2...-\3...|4.../-5...\|6.../7...-\8...|/9...- (time: 0s, #: 284) 0 seconds elapsed 0 direct lights for day lightmap FACELIGHTS: 0...\1...|/2...-\3...|4.../-5...\|6.../7...-\8...|/9...- (time: 0s, #: 284) FINALLIGHT: 0...\1...|/2...-\3...|4.../-5...\|6.../7...-\8...|/9...- (time: 0s, #: 284) 0 seconds elapsed writing maps/test_routing.bsp sum: 1 seconds elapsed - 0.4 MB (458652 bytes) ./ufo2map -gamedir unittest -v 4 -nice 19 -quant 4 -soft maps/test_game.map additional gamedir = unittest verbosity = 4 nice = 19 extrasamples = true soft = true ---- ufo2map 1.2.6 ---- ---- endianness initialization ----- found little endian system path: 'maps/test_game.map' ---- filesystem initialization ----- Adding game dir: /usr/share/games/ufoai/base Adding game dir: ./base "mkdir /sbuild-nonexistent" failed, reason: "Permission denied"."mkdir /sbuild-nonexistent/.ufoai" failed, reason: "No such file or directory"."mkdir /sbuild-nonexistent/.ufoai/2.5" failed, reason: "No such file or directory"."mkdir /sbuild-nonexistent/.ufoai/2.5/base" failed, reason: "No such file or directory".Adding game dir: /sbuild-nonexistent/.ufoai/2.5/base using ./base for writing change writing directory to unittest Adding game dir: unittest ...map: 'maps/test_game.map' ...bsp: 'maps/test_game.bsp' LEVEL: 0...\1...|/2...-3...\|4.../5...-\6...|7.../-8...\9...|/ (time: 0s, #: 259) UNITCHECK: 0...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-1...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-2...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-3...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-4...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-5...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-6...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-7...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-8...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-9...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\ (time: 0s, #: 131072) CONNCHECK: 0...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|1.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-2...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|3.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\4...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/5...-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\6...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-7...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|8.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-9...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/ (time: 0s, #: 1048576) Writing maps/test_game.bsp 0 seconds elapsed ----- Lighting ---- Couldn't load textures/tex_common/actorclip Couldn't load textures/tex_nature/snow002 Couldn't load textures/tex_common/nodraw Couldn't load textures/tex_material/metall002 Couldn't load textures/tex_material/conc02 Couldn't load textures/tex_trak/trim9c Couldn't load textures/tex_common/trigger Couldn't load textures/tex_common/origin Couldn't load textures/tex_doors/door013 Couldn't load textures/tex_buildings/metal_duct_rust Couldn't load textures/tex_alienb/ab_metal01 0 direct lights for night lightmap FACELIGHTS: 0...1...2...3...4...-5...\6...|7.../8...-9...\ (time: 0s, #: 107) FINALLIGHT: 0...1...2...3...4...-5...\6...|7.../8...-9...\ (time: 0s, #: 107) 0 seconds elapsed 0 direct lights for day lightmap FACELIGHTS: 0...1...2...3...4...-5...\6...|7.../8...-9...\ (time: 0s, #: 107) FINALLIGHT: 0...1...2...3...4...-5...\6...|7.../8...-9...\ (time: 0s, #: 107) 0 seconds elapsed writing maps/test_game.bsp sum: 1 seconds elapsed - 0.4 MB (465804 bytes) ===> LD [testall] mkdir -p ./ "c++" release-linux-riscv64/testall/client/battlescape/cl_actor.cpp.o release-linux-riscv64/testall/client/battlescape/cl_battlescape.cpp.o release-linux-riscv64/testall/client/battlescape/cl_camera.cpp.o release-linux-riscv64/testall/client/battlescape/cl_hud.cpp.o release-linux-riscv64/testall/client/battlescape/cl_hud_callbacks.cpp.o release-linux-riscv64/testall/client/battlescape/cl_localentity.cpp.o release-linux-riscv64/testall/client/battlescape/cl_parse.cpp.o release-linux-riscv64/testall/client/battlescape/cl_particle.cpp.o release-linux-riscv64/testall/client/battlescape/cl_radar.cpp.o release-linux-riscv64/testall/client/battlescape/cl_spawn.cpp.o release-linux-riscv64/testall/client/battlescape/cl_ugv.cpp.o release-linux-riscv64/testall/client/battlescape/cl_view.cpp.o release-linux-riscv64/testall/client/battlescape/events/e_main.cpp.o release-linux-riscv64/testall/client/battlescape/events/e_parse.cpp.o release-linux-riscv64/testall/client/battlescape/events/e_server.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actoradd.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorappear.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorclientaction.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actordie.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorendshot.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actormove.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorshoot.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstatechange.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorstats.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorthrow.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorturn.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/actor/e_event_actorwound.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invadd.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invammo.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invdel.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/inventory/e_event_invreload.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_centerview.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_doendround.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_endroundannounce.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_reset.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_results.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/player/e_event_startgame.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_addbrushmodel.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_addedict.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_cameraappear.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_doorclose.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_dooropen.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entappear.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entdestroy.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_entperish.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_explode.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_particleappear.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_particlespawn.cpp.o release-linux-riscv64/testall/client/battlescape/events/event/world/e_event_sound.cpp.o release-linux-riscv64/testall/client/cgame/campaign/aliencargo.cpp.o release-linux-riscv64/testall/client/cgame/campaign/aliencontainment.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cl_game_campaign.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_aircraft.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_aircraft_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_airfight.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_alien_interest.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_alienbase.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_aliencont.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_aliencont_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_auto_mission.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_base.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_base_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_basedefence_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_building.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_campaign.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_capacity.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_cgame_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_employee.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_employee_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_event.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_event_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_fightequip_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_geoscape.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_hospital.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_hospital_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_installation.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_installation_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_mapfightequip.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_market.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_market_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_messageoptions.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_messageoptions_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_messages.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_mission_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_mission_triggers.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_missions.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_nation.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_overlay.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_parse.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_popup.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_produce.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_produce_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_radar.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_rank.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_research.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_research_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_save.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_statistics.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_team.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_team_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_time.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_transfer.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_transfer_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_ufo.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_ufopedia.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_uforecovery.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_uforecovery_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/campaign/cp_xvi.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_baseattack.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_buildbase.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_harvest.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_intercept.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_recon.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_rescue.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_supply.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_terror.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp.o release-linux-riscv64/testall/client/cgame/campaign/missions/cp_mission_xvi.cpp.o release-linux-riscv64/testall/client/cgame/cl_game.cpp.o release-linux-riscv64/testall/client/cgame/cl_game_team.cpp.o release-linux-riscv64/testall/client/cgame/multiplayer/cl_game_multiplayer.cpp.o release-linux-riscv64/testall/client/cgame/multiplayer/mp_callbacks.cpp.o release-linux-riscv64/testall/client/cgame/multiplayer/mp_serverlist.cpp.o release-linux-riscv64/testall/client/cgame/skirmish/cl_game_skirmish.cpp.o release-linux-riscv64/testall/client/cinematic/cl_cinematic.cpp.o release-linux-riscv64/testall/client/cinematic/cl_cinematic_ogm.cpp.o release-linux-riscv64/testall/client/cinematic/cl_cinematic_roq.cpp.o release-linux-riscv64/testall/client/cinematic/cl_sequence.cpp.o release-linux-riscv64/testall/client/cl_console.cpp.o release-linux-riscv64/testall/client/cl_http.cpp.o release-linux-riscv64/testall/client/cl_inventory.cpp.o release-linux-riscv64/testall/client/cl_inventory_callbacks.cpp.o release-linux-riscv64/testall/client/cl_irc.cpp.o release-linux-riscv64/testall/client/cl_language.cpp.o release-linux-riscv64/testall/client/cl_main.cpp.o release-linux-riscv64/testall/client/cl_menu.cpp.o release-linux-riscv64/testall/client/cl_screen.cpp.o release-linux-riscv64/testall/client/cl_team.cpp.o release-linux-riscv64/testall/client/cl_tip.cpp.o release-linux-riscv64/testall/client/cl_tutorials.cpp.o release-linux-riscv64/testall/client/cl_video.cpp.o release-linux-riscv64/testall/client/input/cl_input.cpp.o release-linux-riscv64/testall/client/input/cl_joystick.cpp.o release-linux-riscv64/testall/client/input/cl_keys.cpp.o release-linux-riscv64/testall/client/renderer/r_array.cpp.o release-linux-riscv64/testall/client/renderer/r_bsp.cpp.o release-linux-riscv64/testall/client/renderer/r_corona.cpp.o release-linux-riscv64/testall/client/renderer/r_draw.cpp.o release-linux-riscv64/testall/client/renderer/r_entity.cpp.o release-linux-riscv64/testall/client/renderer/r_flare.cpp.o release-linux-riscv64/testall/client/renderer/r_font.cpp.o release-linux-riscv64/testall/client/renderer/r_framebuffer.cpp.o release-linux-riscv64/testall/client/renderer/r_geoscape.cpp.o release-linux-riscv64/testall/client/renderer/r_grass.cpp.o release-linux-riscv64/testall/client/renderer/r_image.cpp.o release-linux-riscv64/testall/client/renderer/r_light.cpp.o release-linux-riscv64/testall/client/renderer/r_lightmap.cpp.o release-linux-riscv64/testall/client/renderer/r_main.cpp.o release-linux-riscv64/testall/client/renderer/r_material.cpp.o release-linux-riscv64/testall/client/renderer/r_matrix.cpp.o release-linux-riscv64/testall/client/renderer/r_mesh.cpp.o release-linux-riscv64/testall/client/renderer/r_mesh_anim.cpp.o release-linux-riscv64/testall/client/renderer/r_misc.cpp.o release-linux-riscv64/testall/client/renderer/r_model.cpp.o release-linux-riscv64/testall/client/renderer/r_model_alias.cpp.o release-linux-riscv64/testall/client/renderer/r_model_brush.cpp.o release-linux-riscv64/testall/client/renderer/r_model_md2.cpp.o release-linux-riscv64/testall/client/renderer/r_model_md3.cpp.o release-linux-riscv64/testall/client/renderer/r_model_obj.cpp.o release-linux-riscv64/testall/client/renderer/r_particle.cpp.o release-linux-riscv64/testall/client/renderer/r_program.cpp.o release-linux-riscv64/testall/client/renderer/r_sdl.cpp.o release-linux-riscv64/testall/client/renderer/r_sphere.cpp.o release-linux-riscv64/testall/client/renderer/r_state.cpp.o release-linux-riscv64/testall/client/renderer/r_surface.cpp.o release-linux-riscv64/testall/client/renderer/r_thread.cpp.o release-linux-riscv64/testall/client/sound/s_main.cpp.o release-linux-riscv64/testall/client/sound/s_mix.cpp.o release-linux-riscv64/testall/client/sound/s_mumble.cpp.o release-linux-riscv64/testall/client/sound/s_music.cpp.o release-linux-riscv64/testall/client/sound/s_sample.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_abstractnode.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_abstractoption.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_abstractscrollable.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_abstractscrollbar.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_abstractvalue.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_bar.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_base.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_baseinventory.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_battlescape.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_button.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_checkbox.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_container.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_controls.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_data.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_editor.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_ekg.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_geoscape.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_image.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_item.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_linechart.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_material_editor.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_messagelist.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_model.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_option.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_optionlist.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_optiontree.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_panel.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_radar.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_radiobutton.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_rows.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_selectbox.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_sequence.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_special.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_spinner.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_string.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_tab.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_tbar.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_text.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_text2.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_textentry.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_textlist.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_texture.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_timer.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_todo.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_video.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_vscrollbar.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_window.cpp.o release-linux-riscv64/testall/client/ui/node/ui_node_zone.cpp.o release-linux-riscv64/testall/client/ui/ui_actions.cpp.o release-linux-riscv64/testall/client/ui/ui_behaviour.cpp.o release-linux-riscv64/testall/client/ui/ui_components.cpp.o release-linux-riscv64/testall/client/ui/ui_data.cpp.o release-linux-riscv64/testall/client/ui/ui_dragndrop.cpp.o release-linux-riscv64/testall/client/ui/ui_draw.cpp.o release-linux-riscv64/testall/client/ui/ui_expression.cpp.o release-linux-riscv64/testall/client/ui/ui_font.cpp.o release-linux-riscv64/testall/client/ui/ui_input.cpp.o release-linux-riscv64/testall/client/ui/ui_main.cpp.o release-linux-riscv64/testall/client/ui/ui_node.cpp.o release-linux-riscv64/testall/client/ui/ui_nodes.cpp.o release-linux-riscv64/testall/client/ui/ui_parse.cpp.o release-linux-riscv64/testall/client/ui/ui_popup.cpp.o release-linux-riscv64/testall/client/ui/ui_render.cpp.o release-linux-riscv64/testall/client/ui/ui_sound.cpp.o release-linux-riscv64/testall/client/ui/ui_sprite.cpp.o release-linux-riscv64/testall/client/ui/ui_timer.cpp.o release-linux-riscv64/testall/client/ui/ui_tooltip.cpp.o release-linux-riscv64/testall/client/ui/ui_windows.cpp.o release-linux-riscv64/testall/client/web/web_cgame.cpp.o release-linux-riscv64/testall/client/web/web_main.cpp.o release-linux-riscv64/testall/common/binaryexpressionparser.cpp.o release-linux-riscv64/testall/common/bsp.cpp.o release-linux-riscv64/testall/common/cmd.cpp.o release-linux-riscv64/testall/common/cmodel.cpp.o release-linux-riscv64/testall/common/common.cpp.o release-linux-riscv64/testall/common/cvar.cpp.o release-linux-riscv64/testall/common/dbuffer.cpp.o release-linux-riscv64/testall/common/files.cpp.o release-linux-riscv64/testall/common/grid.cpp.o release-linux-riscv64/testall/common/http.cpp.o release-linux-riscv64/testall/common/ioapi.cpp.o release-linux-riscv64/testall/common/list.cpp.o release-linux-riscv64/testall/common/md4.cpp.o release-linux-riscv64/testall/common/md5.cpp.o release-linux-riscv64/testall/common/mem.cpp.o release-linux-riscv64/testall/common/msg.cpp.o release-linux-riscv64/testall/common/net.cpp.o release-linux-riscv64/testall/common/netpack.cpp.o release-linux-riscv64/testall/common/pqueue.cpp.o release-linux-riscv64/testall/common/routing.cpp.o release-linux-riscv64/testall/common/scripts.cpp.o release-linux-riscv64/testall/common/sha1.cpp.o release-linux-riscv64/testall/common/sha2.cpp.o release-linux-riscv64/testall/common/tracing.cpp.o release-linux-riscv64/testall/common/unzip.cpp.o release-linux-riscv64/testall/common/xml.cpp.o release-linux-riscv64/testall/game/chr_shared.cpp.o release-linux-riscv64/testall/game/g_actor.cpp.o release-linux-riscv64/testall/game/g_ai.cpp.o release-linux-riscv64/testall/game/g_ai_lua.cpp.o release-linux-riscv64/testall/game/g_camera.cpp.o release-linux-riscv64/testall/game/g_client.cpp.o release-linux-riscv64/testall/game/g_cmds.cpp.o release-linux-riscv64/testall/game/g_combat.cpp.o release-linux-riscv64/testall/game/g_edicts.cpp.o release-linux-riscv64/testall/game/g_events.cpp.o release-linux-riscv64/testall/game/g_func.cpp.o release-linux-riscv64/testall/game/g_health.cpp.o release-linux-riscv64/testall/game/g_inventory.cpp.o release-linux-riscv64/testall/game/g_main.cpp.o release-linux-riscv64/testall/game/g_match.cpp.o release-linux-riscv64/testall/game/g_mission.cpp.o release-linux-riscv64/testall/game/g_morale.cpp.o release-linux-riscv64/testall/game/g_move.cpp.o release-linux-riscv64/testall/game/g_reaction.cpp.o release-linux-riscv64/testall/game/g_round.cpp.o release-linux-riscv64/testall/game/g_spawn.cpp.o release-linux-riscv64/testall/game/g_stats.cpp.o release-linux-riscv64/testall/game/g_svcmds.cpp.o release-linux-riscv64/testall/game/g_trigger.cpp.o release-linux-riscv64/testall/game/g_utils.cpp.o release-linux-riscv64/testall/game/g_vis.cpp.o release-linux-riscv64/testall/game/inv_shared.cpp.o release-linux-riscv64/testall/game/inventory.cpp.o release-linux-riscv64/testall/game/lua/lapi.cpp.o release-linux-riscv64/testall/game/lua/lauxlib.cpp.o release-linux-riscv64/testall/game/lua/lbaselib.cpp.o release-linux-riscv64/testall/game/lua/lcode.cpp.o release-linux-riscv64/testall/game/lua/ldblib.cpp.o release-linux-riscv64/testall/game/lua/ldebug.cpp.o release-linux-riscv64/testall/game/lua/ldo.cpp.o release-linux-riscv64/testall/game/lua/ldump.cpp.o release-linux-riscv64/testall/game/lua/lfunc.cpp.o release-linux-riscv64/testall/game/lua/lgc.cpp.o release-linux-riscv64/testall/game/lua/linit.cpp.o release-linux-riscv64/testall/game/lua/liolib.cpp.o release-linux-riscv64/testall/game/lua/llex.cpp.o release-linux-riscv64/testall/game/lua/lmathlib.cpp.o release-linux-riscv64/testall/game/lua/lmem.cpp.o release-linux-riscv64/testall/game/lua/loadlib.cpp.o release-linux-riscv64/testall/game/lua/lobject.cpp.o release-linux-riscv64/testall/game/lua/lopcodes.cpp.o release-linux-riscv64/testall/game/lua/loslib.cpp.o release-linux-riscv64/testall/game/lua/lparser.cpp.o release-linux-riscv64/testall/game/lua/lstate.cpp.o release-linux-riscv64/testall/game/lua/lstring.cpp.o release-linux-riscv64/testall/game/lua/lstrlib.cpp.o release-linux-riscv64/testall/game/lua/ltable.cpp.o release-linux-riscv64/testall/game/lua/ltablib.cpp.o release-linux-riscv64/testall/game/lua/ltm.cpp.o release-linux-riscv64/testall/game/lua/lundump.cpp.o release-linux-riscv64/testall/game/lua/lvm.cpp.o release-linux-riscv64/testall/game/lua/lzio.cpp.o release-linux-riscv64/testall/game/lua/print.cpp.o release-linux-riscv64/testall/game/q_shared.cpp.o release-linux-riscv64/testall/libs/mumble/libmumblelink.c.o release-linux-riscv64/testall/ports/unix/unix_console.cpp.o release-linux-riscv64/testall/ports/unix/unix_files.cpp.o release-linux-riscv64/testall/ports/unix/unix_main.cpp.o release-linux-riscv64/testall/ports/unix/unix_shared.cpp.o release-linux-riscv64/testall/server/sv_ccmds.cpp.o release-linux-riscv64/testall/server/sv_game.cpp.o release-linux-riscv64/testall/server/sv_init.cpp.o release-linux-riscv64/testall/server/sv_log.cpp.o release-linux-riscv64/testall/server/sv_main.cpp.o release-linux-riscv64/testall/server/sv_mapcycle.cpp.o release-linux-riscv64/testall/server/sv_rma.cpp.o release-linux-riscv64/testall/server/sv_send.cpp.o release-linux-riscv64/testall/server/sv_user.cpp.o release-linux-riscv64/testall/server/sv_world.cpp.o release-linux-riscv64/testall/shared/aabb.cpp.o release-linux-riscv64/testall/shared/bfd.cpp.o release-linux-riscv64/testall/shared/byte.cpp.o release-linux-riscv64/testall/shared/entitiesdef.cpp.o release-linux-riscv64/testall/shared/images.cpp.o release-linux-riscv64/testall/shared/infostring.cpp.o release-linux-riscv64/testall/shared/mathlib.cpp.o release-linux-riscv64/testall/shared/mathlib_extra.cpp.o release-linux-riscv64/testall/shared/parse.cpp.o release-linux-riscv64/testall/shared/shared.cpp.o release-linux-riscv64/testall/shared/stringhunk.cpp.o release-linux-riscv64/testall/shared/utf8.cpp.o release-linux-riscv64/testall/tests/test_all.cpp.o release-linux-riscv64/testall/tests/test_campaign.cpp.o release-linux-riscv64/testall/tests/test_character.cpp.o release-linux-riscv64/testall/tests/test_dbuffer.cpp.o release-linux-riscv64/testall/tests/test_events.cpp.o release-linux-riscv64/testall/tests/test_game.cpp.o release-linux-riscv64/testall/tests/test_generic.cpp.o release-linux-riscv64/testall/tests/test_inventory.cpp.o release-linux-riscv64/testall/tests/test_mapdef.cpp.o release-linux-riscv64/testall/tests/test_mathlibextra.cpp.o release-linux-riscv64/testall/tests/test_parser.cpp.o release-linux-riscv64/testall/tests/test_particles.cpp.o release-linux-riscv64/testall/tests/test_renderer.cpp.o release-linux-riscv64/testall/tests/test_rma.cpp.o release-linux-riscv64/testall/tests/test_routing.cpp.o release-linux-riscv64/testall/tests/test_scripts.cpp.o release-linux-riscv64/testall/tests/test_shared.cpp.o release-linux-riscv64/testall/tests/test_ui.cpp.o release-linux-riscv64/testall/tests/test_ui_level2.cpp.o release-linux-riscv64/testall/tests/test_webapi.cpp.o -lcunit -lpng -ljpeg -lSDL2_ttf -lSDL2 -lSDL2_mixer -lSDL2 -lGL -lSDL2 -lcurl -ltheora -logg -lxvidcore -lvorbis -logg -lmxml -lrt -ldl -lz -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o testall mkdir -p release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/ release-linux-riscv64/ufo/client/input/ release-linux-riscv64/ufo/client/input/ release-linux-riscv64/ufo/client/input/ release-linux-riscv64/ufo/client/cinematic/ release-linux-riscv64/ufo/client/cinematic/ release-linux-riscv64/ufo/client/cinematic/ release-linux-riscv64/ufo/client/cinematic/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/ release-linux-riscv64/ufo/client/battlescape/events/ release-linux-riscv64/ufo/client/battlescape/events/ release-linux-riscv64/ufo/client/battlescape/events/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/actor/ release-linux-riscv64/ufo/client/battlescape/events/event/inventory/ release-linux-riscv64/ufo/client/battlescape/events/event/inventory/ release-linux-riscv64/ufo/client/battlescape/events/event/inventory/ release-linux-riscv64/ufo/client/battlescape/events/event/inventory/ release-linux-riscv64/ufo/client/battlescape/events/event/player/ release-linux-riscv64/ufo/client/battlescape/events/event/player/ release-linux-riscv64/ufo/client/battlescape/events/event/player/ release-linux-riscv64/ufo/client/battlescape/events/event/player/ release-linux-riscv64/ufo/client/battlescape/events/event/player/ release-linux-riscv64/ufo/client/battlescape/events/event/player/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/battlescape/events/event/world/ release-linux-riscv64/ufo/client/sound/ release-linux-riscv64/ufo/client/sound/ release-linux-riscv64/ufo/client/sound/ release-linux-riscv64/ufo/client/sound/ release-linux-riscv64/ufo/client/sound/ release-linux-riscv64/ufo/client/cgame/ release-linux-riscv64/ufo/client/cgame/ release-linux-riscv64/ufo/client/web/ release-linux-riscv64/ufo/client/web/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/ui/node/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/client/renderer/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/common/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/server/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/shared/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/libs/mumble/ release-linux-riscv64/ufo/ports/linux/ release-linux-riscv64/ufo/ports/unix/ release-linux-riscv64/ufo/ports/unix/ release-linux-riscv64/ufo/ports/unix/ release-linux-riscv64/ufo/ports/unix/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/game/lua/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/campaign/missions/ release-linux-riscv64/ufo/client/cgame/skirmish/ release-linux-riscv64/ufo/client/cgame/multiplayer/ release-linux-riscv64/ufo/client/cgame/multiplayer/ release-linux-riscv64/ufo/client/cgame/multiplayer/ touch release-linux-riscv64/ufo/.dirs ===> CXX [ufo] src/client/cl_console.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_console.cpp.o src/client/cl_console.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_console.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_console.cpp:30: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cl_http.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_http.cpp.o src/client/cl_http.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_http.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_http.cpp:34: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/../common/http.h:32, from src/client/client.h:43: src/client/cl_http.cpp: In function ‘void CL_StartHTTPDownload(dlqueue_t*, dlhandle_t*)’: src/client/cl_http.cpp:209:36: warning: ‘CURLOPT_PROGRESSFUNCTION’ is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 209 | curl_easy_setopt(dl->curl, CURLOPT_PROGRESSFUNCTION, CL_HTTP_Progress); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:1290:3: note: declared here 1290 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ src/client/cl_http.cpp: In function ‘void CL_FinishHTTPDownload()’: src/client/cl_http.cpp:656:57: warning: ‘CURLINFO_SIZE_DOWNLOAD’ is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 656 | curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD, &fileSize); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2857:3: note: declared here 2857 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ src/client/cl_http.cpp:715:41: warning: ‘CURLINFO_SIZE_DOWNLOAD’ is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 715 | curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD, &fileSize); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2857:3: note: declared here 2857 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ src/client/cl_http.cpp:670:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 670 | } | ^ src/client/cl_http.cpp:675:17: note: here 675 | case CURLE_COULDNT_RESOLVE_HOST: | ^~~~ ===> CXX [ufo] src/client/cl_inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_inventory.cpp.o src/client/cl_inventory.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_inventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_inventory.cpp:27: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cl_inventory.cpp: In function ‘Item* INV_SearchInInventoryWithFilter(const Inventory*, const invDef_t*, const objDef_t*, itemFilterTypes_t)’: src/client/cl_inventory.cpp:370:9: warning: ‘nonnull’ argument ‘inv’ compared to NULL [-Wnonnull-compare] 370 | if (inv == nullptr) | ^~ ===> CXX [ufo] src/client/cl_inventory_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_inventory_callbacks.cpp.o src/client/cl_inventory_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_inventory_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/cl_inventory_callbacks.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cl_irc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_irc.cpp.o src/client/cl_irc.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_irc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_irc.cpp:29: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cl_language.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_language.cpp.o src/client/cl_language.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_language.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_language.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cl_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_main.cpp.o src/client/cl_main.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_main.cpp:29: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cl_main.cpp: In function ‘void CL_ClearState()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘clientBattleScape_t’ {aka ‘struct clientBattleScape_s’} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cl_main.cpp:240:9: note: in expansion of macro ‘OBJZERO’ 240 | OBJZERO(cl); | ^~~~~~~ In file included from src/client/client.h:40: src/client/battlescape/cl_battlescape.h:38:16: note: ‘clientBattleScape_t’ {aka ‘struct clientBattleScape_s’} declared here 38 | typedef struct clientBattleScape_s { | ^~~~~~~~~~~~~~~~~~~ In file included from src/client/cgame/cl_game.h:29, from src/client/cl_main.cpp:41: src/client/cl_main.cpp: In function ‘void CL_SetRatioFilter_f()’: src/client/cgame/../ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cl_main.cpp:674:43: note: in expansion of macro ‘OPTIONEXTRADATA’ 674 | const int result = sscanf(OPTIONEXTRADATA(option).label, "%i x %i", &width, &height); | ^~~~~~~~~~~~~~~ src/client/cl_main.cpp: In function ‘void CL_Init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘client_static_t’ {aka ‘struct client_static_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cl_main.cpp:1216:9: note: in expansion of macro ‘OBJZERO’ 1216 | OBJZERO(cls); | ^~~~~~~ src/client/client.h:54:16: note: ‘client_static_t’ {aka ‘struct client_static_s’} declared here 54 | typedef struct client_static_s { | ^~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/cl_menu.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_menu.cpp.o src/client/cl_menu.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_menu.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/cl_menu.cpp:27: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cl_screen.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_screen.cpp.o src/client/cl_screen.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_screen.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_screen.cpp:36: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cl_team.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_team.cpp.o src/client/cl_team.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_team.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_team.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cl_tip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_tip.cpp.o src/client/cl_tip.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_tip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tip.cpp:29: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cl_tutorials.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_tutorials.cpp.o src/client/cl_tutorials.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_tutorials.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h:30, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tutorials.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cl_video.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cl_video.cpp.o src/client/cl_video.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cl_video.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/cvar.h:37, from src/client/cl_video.h:33, from src/client/cl_video.cpp:26: src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cl_renderer.h:29, from src/client/client.h:32, from src/client/cl_video.cpp:27: src/client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_image.h:28, from src/client/cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/r_model.h:30, from src/client/cl_renderer.h:28: src/client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/input/cl_input.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/input/cl_input.cpp.o src/client/input/cl_input.cpp -MP -MD -MT release-linux-riscv64/ufo/client/input/cl_input.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_input.cpp:41: src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/input/../cl_renderer.h:29, from src/client/input/../client.h:32: src/client/input/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/input/../renderer/r_gl.h:32, from src/client/input/../renderer/r_image.h:28, from src/client/input/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/input/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/input/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/input/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/input/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/input/../renderer/r_model.h:30, from src/client/input/../cl_renderer.h:28: src/client/input/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/input/cl_joystick.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/input/cl_joystick.cpp.o src/client/input/cl_joystick.cpp -MP -MD -MT release-linux-riscv64/ufo/client/input/cl_joystick.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_joystick.cpp:27: src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/input/../cl_renderer.h:29, from src/client/input/../client.h:32: src/client/input/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/input/../renderer/r_gl.h:32, from src/client/input/../renderer/r_image.h:28, from src/client/input/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/input/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/input/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/input/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/input/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/input/../renderer/r_model.h:30, from src/client/input/../cl_renderer.h:28: src/client/input/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/input/cl_keys.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/input/cl_keys.cpp.o src/client/input/cl_keys.cpp -MP -MD -MT release-linux-riscv64/ufo/client/input/cl_keys.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_keys.cpp:31: src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/input/../cl_renderer.h:29, from src/client/input/../client.h:32: src/client/input/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/input/../renderer/r_gl.h:32, from src/client/input/../renderer/r_image.h:28, from src/client/input/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/input/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/input/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/input/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/input/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/input/../renderer/r_model.h:30, from src/client/input/../cl_renderer.h:28: src/client/input/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cinematic/cl_cinematic.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cinematic/cl_cinematic.cpp.o src/client/cinematic/cl_cinematic.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cinematic/cl_cinematic.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/cvar.h:37, from src/client/cinematic/../cl_video.h:33, from src/client/cinematic/cl_cinematic.cpp:34: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cinematic/cl_cinematic_ogm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cinematic/cl_cinematic_ogm.cpp.o src/client/cinematic/cl_cinematic_ogm.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cinematic/cl_cinematic_ogm.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/common.h:30, from src/client/cinematic/../cl_shared.h:28, from src/client/cinematic/../client.h:31, from src/client/cinematic/cl_cinematic_ogm.cpp:13: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cinematic/../cl_renderer.h:29, from src/client/cinematic/../client.h:32: src/client/cinematic/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cinematic/../renderer/r_gl.h:32, from src/client/cinematic/../renderer/r_image.h:28, from src/client/cinematic/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cinematic/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cinematic/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cinematic/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cinematic/../renderer/r_model.h:30, from src/client/cinematic/../cl_renderer.h:28: src/client/cinematic/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cinematic/cl_cinematic_ogm.cpp: In function ‘bool CIN_OGM_LoadAudioFrame(cinematic_t*)’: src/client/cinematic/cl_cinematic_ogm.cpp:241:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 241 | short* ptr = (short*)rawBuffer; | ^~~~~~~~~~~~~~~~~ src/client/cinematic/cl_cinematic_ogm.cpp: In function ‘int CIN_OGM_OpenCinematic(cinematic_t*, const char*)’: src/client/cinematic/cl_cinematic_ogm.cpp:618:46: warning: cast from ‘unsigned char*’ to ‘stream_header_t*’ increases required alignment of target type [-Wcast-align] 618 | sh = (stream_header_t*) (og.body + 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/cinematic/cl_cinematic_roq.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cinematic/cl_cinematic_roq.cpp.o src/client/cinematic/cl_cinematic_roq.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cinematic/cl_cinematic_roq.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/common.h:30, from src/client/cinematic/../cl_shared.h:28, from src/client/cinematic/../client.h:31, from src/client/cinematic/cl_cinematic_roq.cpp:29: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cinematic/../cl_renderer.h:29, from src/client/cinematic/../client.h:32: src/client/cinematic/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cinematic/../renderer/r_gl.h:32, from src/client/cinematic/../renderer/r_image.h:28, from src/client/cinematic/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cinematic/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cinematic/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cinematic/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cinematic/../renderer/r_model.h:30, from src/client/cinematic/../cl_renderer.h:28: src/client/cinematic/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/cinematic/../../common/../shared/byte.h:30, from src/client/cinematic/../../common/common.h:29: src/client/cinematic/cl_cinematic_roq.cpp: In function ‘bool CIN_ROQ_DecodeChunk(cinematic_t*)’: src/client/cinematic/cl_cinematic_roq.cpp:471:48: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 471 | ROQCIN.chunk.id = LittleShort(*(short*)&ROQCIN.header[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:471:35: note: in expansion of macro ‘LittleShort’ 471 | ROQCIN.chunk.id = LittleShort(*(short*)&ROQCIN.header[0]); | ^~~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:472:49: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 472 | ROQCIN.chunk.size = LittleLong(*(int*)&ROQCIN.header[2]); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:472:37: note: in expansion of macro ‘LittleLong’ 472 | ROQCIN.chunk.size = LittleLong(*(int*)&ROQCIN.header[2]); | ^~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:473:51: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 473 | ROQCIN.chunk.flags = LittleShort(*(short*)&ROQCIN.header[6]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:473:38: note: in expansion of macro ‘LittleShort’ 473 | ROQCIN.chunk.flags = LittleShort(*(short*)&ROQCIN.header[6]); | ^~~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp: In function ‘int CIN_ROQ_OpenCinematic(cinematic_t*, const char*)’: src/client/cinematic/cl_cinematic_roq.cpp:584:33: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 584 | chunk.id = LittleShort(*(short*)&header[0]); | ^~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:584:20: note: in expansion of macro ‘LittleShort’ 584 | chunk.id = LittleShort(*(short*)&header[0]); | ^~~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:585:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 585 | chunk.size = LittleLong(*(int*)&header[2]); | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:585:22: note: in expansion of macro ‘LittleLong’ 585 | chunk.size = LittleLong(*(int*)&header[2]); | ^~~~~~~~~~ src/client/cinematic/cl_cinematic_roq.cpp:586:36: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 586 | chunk.flags = LittleShort(*(short*)&header[6]); | ^~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/cinematic/cl_cinematic_roq.cpp:586:23: note: in expansion of macro ‘LittleShort’ 586 | chunk.flags = LittleShort(*(short*)&header[6]); | ^~~~~~~~~~~ ===> CXX [ufo] src/client/cinematic/cl_sequence.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cinematic/cl_sequence.cpp.o src/client/cinematic/cl_sequence.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cinematic/cl_sequence.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cinematic/../../common/../shared/shared.h:54, from src/client/cinematic/../../common/common.h:30, from src/client/cinematic/../cl_shared.h:28, from src/client/cinematic/../client.h:31, from src/client/cinematic/cl_sequence.cpp:30: src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cinematic/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cinematic/../cl_renderer.h:29, from src/client/cinematic/../client.h:32: src/client/cinematic/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cinematic/../renderer/r_gl.h:32, from src/client/cinematic/../renderer/r_image.h:28, from src/client/cinematic/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cinematic/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cinematic/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cinematic/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cinematic/../renderer/r_model.h:30, from src/client/cinematic/../cl_renderer.h:28: src/client/cinematic/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cinematic/cl_sequence.cpp: In function ‘void SEQ_Render3D(sequenceContext_t*)’: src/client/cinematic/cl_sequence.cpp:317:25: warning: the address of ‘seqEnt_s::parent’ will never be NULL [-Waddress] 317 | if (se->parent && se->tag) { | ~~~~^~~~~~ src/client/cinematic/cl_sequence.cpp:88:14: note: ‘seqEnt_s::parent’ declared here 88 | char parent[MAX_VAR]; /**< in case this is a child model (should get placed onto a tag of the parent) */ | ^~~~~~ src/client/cinematic/cl_sequence.cpp:317:39: warning: the address of ‘seqEnt_s::tag’ will never be NULL [-Waddress] 317 | if (se->parent && se->tag) { | ~~~~^~~ src/client/cinematic/cl_sequence.cpp:89:14: note: ‘seqEnt_s::tag’ declared here 89 | char tag[MAX_VAR]; /**< the tag to place this model onto */ | ^~~ In file included from src/client/cinematic/../../common/common.h:184: src/client/cinematic/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/cinematic/cl_sequence.cpp:766:6: required from here src/client/cinematic/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_actor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_actor.cpp.o src/client/battlescape/cl_actor.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_actor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_actor.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_battlescape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_battlescape.cpp.o src/client/battlescape/cl_battlescape.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_battlescape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_battlescape.cpp:25: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_camera.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_camera.cpp.o src/client/battlescape/cl_camera.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_camera.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_camera.cpp:28: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_hud.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_hud.cpp.o src/client/battlescape/cl_hud.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_hud.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_hud_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_hud_callbacks.cpp.o src/client/battlescape/cl_hud_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_hud_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud_callbacks.cpp:25: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_localentity.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_localentity.cpp.o src/client/battlescape/cl_localentity.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_localentity.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_localentity.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/cl_localentity.cpp: In function ‘le_t* LE_Add(int)’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘le_t’ {aka ‘struct le_s’} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_localentity.cpp:1217:9: note: in expansion of macro ‘OBJZERO’ 1217 | OBJZERO(*le); | ^~~~~~~ In file included from src/client/battlescape/../client.h:39: src/client/battlescape/../battlescape/cl_localentity.h:65:16: note: ‘le_t’ {aka ‘struct le_s’} declared here 65 | typedef struct le_s { | ^~~~ ===> CXX [ufo] src/client/battlescape/cl_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_parse.cpp.o src/client/battlescape/cl_parse.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_parse.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_particle.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_particle.cpp.o src/client/battlescape/cl_particle.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_particle.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_particle.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/cl_particle.cpp: In function ‘void CL_ParseParticle(const char*, const char**)’: src/client/battlescape/cl_particle.cpp:1431:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ptlCmd_t**’ {aka ‘ptlCmd_s**’} increases required alignment of target type [-Wcast-align] 1431 | pc = (ptlCmd_t**) ((byte*) pd + pf_values[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_radar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_radar.cpp.o src/client/battlescape/cl_radar.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_radar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_radar.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_spawn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_spawn.cpp.o src/client/battlescape/cl_spawn.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_spawn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_spawn.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_ugv.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_ugv.cpp.o src/client/battlescape/cl_ugv.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_ugv.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_ugv.cpp:26: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/cl_ugv.cpp: In function ‘bool CL_AddUGV(le_t*, entity_t*)’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘entity_t’ {aka ‘struct entity_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_ugv.cpp:42:25: note: in expansion of macro ‘OBJZERO’ 42 | OBJZERO(add); | ^~~~~~~ src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘entity_t’ {aka ‘struct entity_s’} declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘entity_t’ {aka ‘struct entity_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_ugv.cpp:54:25: note: in expansion of macro ‘OBJZERO’ 54 | OBJZERO(add); | ^~~~~~~ src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘entity_t’ {aka ‘struct entity_s’} declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘entity_t’ {aka ‘struct entity_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/cl_ugv.cpp:67:9: note: in expansion of macro ‘OBJZERO’ 67 | OBJZERO(add); | ^~~~~~~ src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘entity_t’ {aka ‘struct entity_s’} declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/cl_view.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/cl_view.cpp.o src/client/battlescape/cl_view.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/cl_view.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_view.cpp:29: src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/../cl_renderer.h:29, from src/client/battlescape/../client.h:32: src/client/battlescape/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/../renderer/r_gl.h:32, from src/client/battlescape/../renderer/r_image.h:28, from src/client/battlescape/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/../renderer/r_model.h:30, from src/client/battlescape/../cl_renderer.h:28: src/client/battlescape/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/e_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/e_main.cpp.o src/client/battlescape/events/e_main.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/e_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30, from src/client/battlescape/events/../../cl_shared.h:28, from src/client/battlescape/events/../../client.h:31, from src/client/battlescape/events/e_main.cpp:25: src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/../../cl_renderer.h:29, from src/client/battlescape/events/../../client.h:32: src/client/battlescape/events/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/../../renderer/r_gl.h:32, from src/client/battlescape/events/../../renderer/r_image.h:28, from src/client/battlescape/events/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/../../renderer/r_model.h:30, from src/client/battlescape/events/../../cl_renderer.h:28: src/client/battlescape/events/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/events/e_main.cpp: In function ‘const char* CL_ConvertSoundFromEvent(char*, size_t)’: src/client/battlescape/events/e_main.cpp:224:62: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 224 | if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) | ^~ src/client/battlescape/events/e_main.cpp:224:21: note: add parentheses around left hand side expression to silence this warning 224 | if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) src/client/battlescape/events/e_main.cpp:224:62: warning: comparison of constant ‘-1’ with boolean expression is always false [-Wbool-compare] 224 | if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ===> CXX [ufo] src/client/battlescape/events/e_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/e_parse.cpp.o src/client/battlescape/events/e_parse.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/e_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30, from src/client/battlescape/events/../../cl_shared.h:28, from src/client/battlescape/events/../../client.h:31, from src/client/battlescape/events/e_parse.cpp:40: src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/../../cl_renderer.h:29, from src/client/battlescape/events/../../client.h:32: src/client/battlescape/events/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/../../renderer/r_gl.h:32, from src/client/battlescape/events/../../renderer/r_image.h:28, from src/client/battlescape/events/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/../../renderer/r_model.h:30, from src/client/battlescape/events/../../cl_renderer.h:28: src/client/battlescape/events/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/battlescape/events/e_parse.cpp: In function ‘bool CL_DelayBattlescapeEvent(int, void*)’: src/client/battlescape/events/e_parse.cpp:161:73: warning: cast from type ‘const evTimes_t*’ {aka ‘const evTimes_s*’} to type ‘void*’ casts away qualifiers [-Wcast-qual] 161 | Com_DPrintf(DEBUG_EVENTSYS, "delay event %p type %s from %i\n", (void*)event, eventData->name, now); | ^~~~~~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/e_server.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/e_server.cpp.o src/client/battlescape/events/e_server.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/e_server.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30, from src/client/battlescape/events/../../cl_shared.h:28, from src/client/battlescape/events/../../client.h:31, from src/client/battlescape/events/e_server.cpp:27: src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/../../cl_renderer.h:29, from src/client/battlescape/events/../../client.h:32: src/client/battlescape/events/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/../../renderer/r_gl.h:32, from src/client/battlescape/events/../../renderer/r_image.h:28, from src/client/battlescape/events/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/../../renderer/r_model.h:30, from src/client/battlescape/events/../../cl_renderer.h:28: src/client/battlescape/events/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actoradd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actoradd.cpp.o src/client/battlescape/events/event/actor/e_event_actoradd.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actoradd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actoradd.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorappear.cpp.o src/client/battlescape/events/event/actor/e_event_actorappear.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorappear.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorclientaction.cpp.o src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorclientaction.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actordie.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actordie.cpp.o src/client/battlescape/events/event/actor/e_event_actordie.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actordie.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actordie.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorendshot.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorendshot.cpp.o src/client/battlescape/events/event/actor/e_event_actorendshot.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorendshot.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorendshot.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actormove.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actormove.cpp.o src/client/battlescape/events/event/actor/e_event_actormove.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actormove.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actormove.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp.o src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp.o src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp.o src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp.o src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorshoot.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorshoot.cpp.o src/client/battlescape/events/event/actor/e_event_actorshoot.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorshoot.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorshoot.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp.o src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp.o src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstatechange.cpp.o src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstatechange.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorstats.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstats.cpp.o src/client/battlescape/events/event/actor/e_event_actorstats.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstats.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorstats.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorthrow.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorthrow.cpp.o src/client/battlescape/events/event/actor/e_event_actorthrow.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorthrow.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorthrow.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorturn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorturn.cpp.o src/client/battlescape/events/event/actor/e_event_actorturn.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorturn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorturn.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorwound.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorwound.cpp.o src/client/battlescape/events/event/actor/e_event_actorwound.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorwound.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/actor/../../../../../common/common.h:30, from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28, from src/client/battlescape/events/event/actor/../../../../client.h:31, from src/client/battlescape/events/event/actor/e_event_actorwound.cpp:25: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/actor/../../../../client.h:32: src/client/battlescape/events/event/actor/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/actor/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/actor/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/actor/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/actor/../../../../cl_renderer.h:28: src/client/battlescape/events/event/actor/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invadd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invadd.cpp.o src/client/battlescape/events/event/inventory/e_event_invadd.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invadd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invadd.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invammo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invammo.cpp.o src/client/battlescape/events/event/inventory/e_event_invammo.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invammo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invammo.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invdel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invdel.cpp.o src/client/battlescape/events/event/inventory/e_event_invdel.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invdel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invdel.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invreload.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invreload.cpp.o src/client/battlescape/events/event/inventory/e_event_invreload.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invreload.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28, from src/client/battlescape/events/event/inventory/../../../../client.h:31, from src/client/battlescape/events/event/inventory/e_event_invreload.cpp:25: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/inventory/../../../../client.h:32: src/client/battlescape/events/event/inventory/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/inventory/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/inventory/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/inventory/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/inventory/../../../../cl_renderer.h:28: src/client/battlescape/events/event/inventory/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_centerview.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_centerview.cpp.o src/client/battlescape/events/event/player/e_event_centerview.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_centerview.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_centerview.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_doendround.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_doendround.cpp.o src/client/battlescape/events/event/player/e_event_doendround.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_doendround.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_doendround.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_endroundannounce.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_endroundannounce.cpp.o src/client/battlescape/events/event/player/e_event_endroundannounce.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_endroundannounce.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_endroundannounce.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_reset.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_reset.cpp.o src/client/battlescape/events/event/player/e_event_reset.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_reset.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_reset.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_results.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_results.cpp.o src/client/battlescape/events/event/player/e_event_results.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_results.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_results.cpp:25: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_startgame.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_startgame.cpp.o src/client/battlescape/events/event/player/e_event_startgame.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_startgame.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/player/../../../../../common/common.h:30, from src/client/battlescape/events/event/player/../../../../cl_shared.h:28, from src/client/battlescape/events/event/player/../../../../client.h:31, from src/client/battlescape/events/event/player/e_event_startgame.cpp:26: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/player/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/player/../../../../client.h:32: src/client/battlescape/events/event/player/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/player/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/player/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/player/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/player/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/player/../../../../cl_renderer.h:28: src/client/battlescape/events/event/player/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_addbrushmodel.cpp.o src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_addbrushmodel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_addedict.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_addedict.cpp.o src/client/battlescape/events/event/world/e_event_addedict.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_addedict.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_addedict.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_cameraappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_cameraappear.cpp.o src/client/battlescape/events/event/world/e_event_cameraappear.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_cameraappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_cameraappear.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_doorclose.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_doorclose.cpp.o src/client/battlescape/events/event/world/e_event_doorclose.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_doorclose.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_doorclose.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_dooropen.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_dooropen.cpp.o src/client/battlescape/events/event/world/e_event_dooropen.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_dooropen.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_dooropen.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_entappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entappear.cpp.o src/client/battlescape/events/event/world/e_event_entappear.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_entappear.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_entdestroy.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entdestroy.cpp.o src/client/battlescape/events/event/world/e_event_entdestroy.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entdestroy.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_entdestroy.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_entperish.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entperish.cpp.o src/client/battlescape/events/event/world/e_event_entperish.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entperish.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_entperish.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_explode.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_explode.cpp.o src/client/battlescape/events/event/world/e_event_explode.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_explode.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_explode.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_particleappear.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_particleappear.cpp.o src/client/battlescape/events/event/world/e_event_particleappear.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_particleappear.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_particleappear.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_particlespawn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_particlespawn.cpp.o src/client/battlescape/events/event/world/e_event_particlespawn.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_particlespawn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_particlespawn.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_sound.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_sound.cpp.o src/client/battlescape/events/event/world/e_event_sound.cpp -MP -MD -MT release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_sound.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54, from src/client/battlescape/events/event/world/../../../../../common/common.h:30, from src/client/battlescape/events/event/world/../../../../cl_shared.h:28, from src/client/battlescape/events/event/world/../../../../client.h:31, from src/client/battlescape/events/event/world/e_event_sound.cpp:25: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/battlescape/events/event/world/../../../../cl_renderer.h:29, from src/client/battlescape/events/event/world/../../../../client.h:32: src/client/battlescape/events/event/world/../../../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/battlescape/events/event/world/../../../../renderer/r_gl.h:32, from src/client/battlescape/events/event/world/../../../../renderer/r_image.h:28, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/battlescape/events/event/world/../../../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/battlescape/events/event/world/../../../../renderer/r_model.h:30, from src/client/battlescape/events/event/world/../../../../cl_renderer.h:28: src/client/battlescape/events/event/world/../../../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/sound/s_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/sound/s_main.cpp.o src/client/sound/s_main.cpp -MP -MD -MT release-linux-riscv64/ufo/client/sound/s_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_main.cpp:26: src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/../client.h:32: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/sound/s_mix.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/sound/s_mix.cpp.o src/client/sound/s_mix.cpp -MP -MD -MT release-linux-riscv64/ufo/client/sound/s_mix.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30, from src/client/sound/../cl_shared.h:28, from src/client/sound/s_mix.cpp:26: src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/s_mix.cpp:27: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/sound/s_mumble.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/sound/s_mumble.cpp.o src/client/sound/s_mumble.cpp -MP -MD -MT release-linux-riscv64/ufo/client/sound/s_mumble.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_mumble.cpp:7: src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/../client.h:32: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/sound/s_music.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/sound/s_music.cpp.o src/client/sound/s_music.cpp -MP -MD -MT release-linux-riscv64/ufo/client/sound/s_music.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../shared/shared.h:54, from src/client/sound/s_local.h:31, from src/client/sound/s_music.cpp:26: src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/sound/../cl_renderer.h:29, from src/client/sound/s_music.cpp:33: src/client/sound/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/sound/../renderer/r_gl.h:32, from src/client/sound/../renderer/r_image.h:28, from src/client/sound/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/sound/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/sound/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/sound/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/sound/../renderer/r_model.h:30, from src/client/sound/../cl_renderer.h:28: src/client/sound/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/sound/s_music.cpp: In function ‘void M_AddToSampleBuffer(musicStream_t*, int, int, const byte*)’: src/client/sound/s_music.cpp:434:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 434 | short* ptr = (short*)&userdata->sampleBuf[userdata->samplePos]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/SDL2/SDL_audio.h:35, from /usr/include/SDL2/SDL_mixer.h:34, from src/client/sound/s_local.h:30: src/client/sound/s_music.cpp:437:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 437 | *ptr = LittleShort(((const short*) data)[src * 2]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:437:32: note: in expansion of macro ‘LittleShort’ 437 | *ptr = LittleShort(((const short*) data)[src * 2]); | ^~~~~~~~~~~ src/client/sound/s_music.cpp:439:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 439 | *ptr = LittleShort(((const short*) data)[src * 2 + 1]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:439:32: note: in expansion of macro ‘LittleShort’ 439 | *ptr = LittleShort(((const short*) data)[src * 2 + 1]); | ^~~~~~~~~~~ src/client/sound/s_music.cpp:446:38: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘short int*’ increases required alignment of target type [-Wcast-align] 446 | short* ptr = (short*)&userdata->sampleBuf[userdata->samplePos]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/s_music.cpp:447:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 447 | *ptr = LittleShort(((const short*) data)[i * 2]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:447:32: note: in expansion of macro ‘LittleShort’ 447 | *ptr = LittleShort(((const short*) data)[i * 2]); | ^~~~~~~~~~~ src/client/sound/s_music.cpp:449:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short int*’ increases required alignment of target type [-Wcast-align] 449 | *ptr = LittleShort(((const short*) data)[i * 2 + 1]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:320:30: note: in definition of macro ‘SDL_SwapLE16’ 320 | #define SDL_SwapLE16(X) (X) | ^ src/client/sound/s_music.cpp:449:32: note: in expansion of macro ‘LittleShort’ 449 | *ptr = LittleShort(((const short*) data)[i * 2 + 1]); | ^~~~~~~~~~~ ===> CXX [ufo] src/client/sound/s_sample.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/sound/s_sample.cpp.o src/client/sound/s_sample.cpp -MP -MD -MT release-linux-riscv64/ufo/client/sound/s_sample.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/sound/../../shared/shared.h:54, from src/client/sound/s_local.h:31, from src/client/sound/s_sample.h:30, from src/client/sound/s_sample.cpp:26: src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/cl_game.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/cl_game.cpp.o src/client/cgame/cl_game.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/cl_game.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/cl_game.h:28, from src/client/cgame/cl_game.cpp:26: src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/../cl_renderer.h:29, from src/client/cgame/../client.h:32, from src/client/cgame/cl_game.cpp:27: src/client/cgame/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cgame/../renderer/r_gl.h:32, from src/client/cgame/../renderer/r_image.h:28, from src/client/cgame/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cgame/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cgame/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cgame/../renderer/r_model.h:30, from src/client/cgame/../cl_renderer.h:28: src/client/cgame/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/cgame/cl_game_team.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/cl_game_team.cpp.o src/client/cgame/cl_game_team.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/cl_game_team.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/../client.h:31, from src/client/cgame/cl_game_team.cpp:26: src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/../cl_renderer.h:29, from src/client/cgame/../client.h:32: src/client/cgame/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/cgame/../renderer/r_gl.h:32, from src/client/cgame/../renderer/r_image.h:28, from src/client/cgame/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/cgame/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/cgame/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/cgame/../renderer/r_model.h:30, from src/client/cgame/../cl_renderer.h:28: src/client/cgame/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/cgame/cl_game_team.cpp: In function ‘void GAME_LoadItem(mxml_node_t*, Item*, containerIndex_t*, int*, int*)’: src/client/cgame/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class Item’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/cl_game_team.cpp:630:9: note: in expansion of macro ‘OBJZERO’ 630 | OBJZERO(*item); | ^~~~~~~ In file included from src/client/cgame/../../common/../game/q_shared.h:39, from src/client/cgame/../../common/scripts.h:259, from src/client/cgame/../../common/common.h:184: src/client/cgame/../../common/../game/inv_shared.h:409:7: note: ‘class Item’ declared here 409 | class Item { | ^~~~ ===> CXX [ufo] src/client/web/web_cgame.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/web/web_cgame.cpp.o src/client/web/web_cgame.cpp -MP -MD -MT release-linux-riscv64/ufo/client/web/web_cgame.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30, from src/client/web/web_main.h:29, from src/client/web/web_cgame.cpp:27: src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/web/web_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/web/web_main.cpp.o src/client/web/web_main.cpp -MP -MD -MT release-linux-riscv64/ufo/client/web/web_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30, from src/client/web/web_main.h:29, from src/client/web/web_main.cpp:27: src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/ui/ui_actions.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_actions.cpp.o src/client/ui/ui_actions.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_actions.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_actions.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_actions.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = void*; value_t = value_s]’: src/client/ui/ui_actions.cpp:347:23: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘void**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = uiAction_s*; value_t = value_s]’: src/client/ui/ui_actions.cpp:479:80: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uiAction_s**’ increases required alignment of target type [-Wcast-align] ===> CXX [ufo] src/client/ui/ui_behaviour.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_behaviour.cpp.o src/client/ui/ui_behaviour.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_behaviour.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_behaviour.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_behaviour.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_components.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_components.cpp.o src/client/ui/ui_components.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_components.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h:28, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_components.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | In file included from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_abstractnode.h:28: src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_data.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_data.cpp.o src/client/ui/ui_data.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_data.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_data.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_data.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_data.h:31, from src/client/ui/ui_main.h:27, from src/client/ui/ui_data.cpp:27: src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_OptionNodeRemoveHigherOption(uiNode_t**)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:270:42: note: in expansion of macro ‘OPTIONEXTRADATA’ 270 | const char* label = CL_Translate(OPTIONEXTRADATA(*option).label); | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:274:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 274 | const char* searchlabel = CL_Translate(OPTIONEXTRADATA(search).label); | ^~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_FindOptionAtIndex(int, uiNode_t*, uiOptionIterator_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:389:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 389 | if (OPTIONEXTRADATA(option).collapsed) { | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:395:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 395 | if (index < OPTIONEXTRADATA(option).childCount) { | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:402:26: note: in expansion of macro ‘OPTIONEXTRADATA’ 402 | index -= OPTIONEXTRADATA(option).childCount; | ^~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_OptionIteratorNextOption(uiOptionIterator_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:449:13: note: in expansion of macro ‘OPTIONEXTRADATA’ 449 | if (OPTIONEXTRADATA(option).collapsed && iterator->skipCollapsed) | ^~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp: In function ‘uiNode_t* UI_FindOptionByValue(uiOptionIterator_t*, const char*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/ui_data.cpp:482:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 482 | if (Q_streq(OPTIONEXTRADATA(iterator->option).value, value)) | ^~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/ui_dragndrop.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_dragndrop.cpp.o src/client/ui/ui_dragndrop.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_dragndrop.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h:28, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_dragndrop.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | In file included from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_abstractnode.h:28: src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_draw.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_draw.cpp.o src/client/ui/ui_draw.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_draw.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_draw.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_draw.cpp:27: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_expression.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_expression.cpp.o src/client/ui/ui_expression.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_expression.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/ui_expression.h:27, from src/client/ui/ui_expression.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_expression.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/ui_expression.cpp: In function ‘uiNode_t* UI_GetNodeFromExpression(uiAction_t*, const uiCallContext_t*, const value_t**)’: src/client/ui/ui_expression.cpp:117:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 117 | } | ^ src/client/ui/ui_expression.cpp:119:9: note: here 119 | case EA_OPERATOR_UNARY: | ^~~~ src/client/ui/ui_expression.cpp: In function ‘bool UI_GetBooleanFromExpression(uiAction_t*, const uiCallContext_t*)’: src/client/ui/ui_expression.cpp:489:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 489 | name = UI_GenInjectedString(name, false, context); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_expression.cpp:490:33: note: here 490 | case EA_VALUE_CVARNAME: | ^~~~ src/client/ui/ui_expression.cpp:493:68: warning: this statement may fall through [-Wimplicit-fallthrough=] 493 | name = UI_GenInjectedString(name, false, context); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_expression.cpp:494:33: note: here 494 | case EA_VALUE_PATHNODE: { | ^~~~ ===> CXX [ufo] src/client/ui/ui_font.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_font.cpp.o src/client/ui/ui_font.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_font.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_font.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_font.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/ui/ui_font.cpp:123:6: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_font.cpp: In function ‘bool UI_ParseFont(const char*, const char**)’: src/client/ui/ui_font.cpp:121:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 121 | token++; | ~~~~~^~ src/client/ui/ui_font.cpp:122:33: note: here 122 | case V_HUNK_STRING: | ^~~~ ===> CXX [ufo] src/client/ui/ui_input.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_input.cpp.o src/client/ui/ui_input.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_input.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_input.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_input.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_main.cpp.o src/client/ui/ui_main.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_main.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_main.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_node.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_node.cpp.o src/client/ui/ui_node.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_node.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_node.cpp:27: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_node.cpp:37: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = void*; value_t = value_s]’: src/client/ui/ui_node.cpp:706:44: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘void**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = float*; value_t = value_s]’: src/client/ui/ui_node.cpp:708:43: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = int*; value_t = value_s]’: src/client/ui/ui_node.cpp:709:43: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const unsigned char*; value_t = value_s]’: src/client/ui/ui_node.cpp:710:43: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const unsigned char**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const uiAction_s*; value_t = value_s]’: src/client/ui/ui_node.cpp:713:34: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const uiAction_s**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const uiSprite_t*; value_t = value_s]’: src/client/ui/ui_node.cpp:715:34: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const uiSprite_t**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/ui/ui_node.cpp:745:35: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = float; value_t = value_s]’: src/client/ui/../../common/scripts.h:186:24: required from ‘const T& Com_GetValue(const void*, const value_t*) [with T = float; value_t = value_s]’ src/client/ui/ui_node.cpp:858:29: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = int; value_t = value_s]’: src/client/ui/../../common/scripts.h:186:24: required from ‘const T& Com_GetValue(const void*, const value_t*) [with T = int; value_t = value_s]’ src/client/ui/ui_node.cpp:870:27: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] ===> CXX [ufo] src/client/ui/ui_nodes.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_nodes.cpp.o src/client/ui/ui_nodes.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_nodes.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_nodes.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_nodes.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/ui_nodes.cpp: In function ‘void UI_InitNodes()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct uiBehaviour_t’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/ui_nodes.cpp:633:17: note: in expansion of macro ‘OBJZERO’ 633 | OBJZERO(*current); | ^~~~~~~ In file included from src/client/ui/ui_internal.h:39: src/client/ui/ui_behaviour.h:38:8: note: ‘struct uiBehaviour_t’ declared here 38 | struct uiBehaviour_t { | ^~~~~~~~~~~~~ In file included from src/client/ui/ui_nodes.h:28, from src/client/ui/ui_data.h:31: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = void*; value_t = value_s]’: src/client/ui/ui_nodes.cpp:558:41: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘void**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/ui_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_parse.cpp.o src/client/ui/ui_parse.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/../client.h:31, from src/client/ui/ui_parse.cpp:28: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/../cl_renderer.h:29, from src/client/ui/../client.h:32: src/client/ui/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/../renderer/r_gl.h:32, from src/client/ui/../renderer/r_image.h:28, from src/client/ui/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/../renderer/r_model.h:30, from src/client/ui/../cl_renderer.h:28: src/client/ui/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/../../common/common.h:184: src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = uiAction_s*; value_t = value_s]’: src/client/ui/ui_parse.cpp:634:50: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uiAction_s**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = unsigned char*; value_t = value_s]’: src/client/ui/ui_parse.cpp:712:22: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned char**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = const uiSprite_t*; value_t = value_s]’: src/client/ui/ui_parse.cpp:800:64: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const uiSprite_t**’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = int; value_t = value_s]’: src/client/ui/ui_parse.cpp:827:36: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] src/client/ui/../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/client/ui/ui_parse.cpp:1169:5: required from here src/client/ui/../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] src/client/ui/ui_parse.cpp: In function ‘uiAction_t* UI_ParseActionList(uiNode_t*, const char**, const char**)’: src/client/ui/ui_parse.cpp:516:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 516 | if (!lastAction || (lastAction->type != EA_IF && lastAction->type != EA_ELIF)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_parse.cpp:521:17: note: here 521 | case EA_WHILE: | ^~~~ ===> CXX [ufo] src/client/ui/ui_popup.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_popup.cpp.o src/client/ui/ui_popup.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_popup.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_popup.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/ui/ui_render.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_render.cpp.o src/client/ui/ui_render.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_render.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_render.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/../cl_renderer.h:29, from src/client/ui/ui_render.h:28, from src/client/ui/ui_render.cpp:27: src/client/ui/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/../renderer/r_gl.h:32, from src/client/ui/../renderer/r_image.h:28, from src/client/ui/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/../renderer/r_model.h:30, from src/client/ui/../cl_renderer.h:28: src/client/ui/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_sound.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_sound.cpp.o src/client/ui/ui_sound.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_sound.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sound.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/ui/ui_sprite.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_sprite.cpp.o src/client/ui/ui_sprite.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_sprite.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sprite.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_sprite.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_timer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_timer.cpp.o src/client/ui/ui_timer.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_timer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_timer.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/ui/ui_tooltip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_tooltip.cpp.o src/client/ui/ui_tooltip.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_tooltip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_tooltip.cpp:25: src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/../cl_renderer.h:29, from src/client/ui/ui_render.h:28, from src/client/ui/ui_tooltip.cpp:31: src/client/ui/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/../renderer/r_gl.h:32, from src/client/ui/../renderer/r_image.h:28, from src/client/ui/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/../renderer/r_model.h:30, from src/client/ui/../cl_renderer.h:28: src/client/ui/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/ui_windows.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/ui_windows.cpp.o src/client/ui/ui_windows.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/ui_windows.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30, from src/client/ui/ui_main.h:27, from src/client/ui/ui_windows.cpp:25: src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/ui_internal.h:36, from src/client/ui/ui_windows.cpp:26: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/ui_data.h:31: src/client/ui/ui_windows.cpp: In function ‘void UI_MoveWindowOnTop(uiNode_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:91:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 91 | if (WINDOWEXTRADATA(window).parent != WINDOWEXTRADATA(ui_global.windowStack[j]).parent) | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:91:55: note: in expansion of macro ‘WINDOWEXTRADATA’ 91 | if (WINDOWEXTRADATA(window).parent != WINDOWEXTRADATA(ui_global.windowStack[j]).parent) | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘uiNode_t* UI_PushWindow(const char*, const char*, linkedList_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:190:25: note: in expansion of macro ‘WINDOWEXTRADATA’ 190 | WINDOWEXTRADATA(window).parent = ui_global.windowStack[parentPos]; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_CloseAllWindow()’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:340:17: note: in expansion of macro ‘WINDOWEXTRADATA’ 340 | WINDOWEXTRADATA(window).parent = nullptr; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_CloseWindowByRef(uiNode_t*)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:396:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 396 | if (WINDOWEXTRADATA(m).parent != window) { | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:401:17: note: in expansion of macro ‘WINDOWEXTRADATA’ 401 | WINDOWEXTRADATA(m).parent = nullptr; | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:407:9: note: in expansion of macro ‘WINDOWEXTRADATA’ 407 | WINDOWEXTRADATA(window).parent = nullptr; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_PopWindow(bool)’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:440:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 440 | if (WINDOWEXTRADATA(mainWindow).parent) | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:441:38: note: in expansion of macro ‘WINDOWEXTRADATA’ 441 | mainWindow = WINDOWEXTRADATA(mainWindow).parent; | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_PopWindowWithEscKey()’: src/client/ui/ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:39:37: note: in expansion of macro ‘UI_EXTRADATACONST’ 39 | #define WINDOWEXTRADATACONST(node) UI_EXTRADATACONST(node, windowExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:491:13: note: in expansion of macro ‘WINDOWEXTRADATACONST’ 491 | if (WINDOWEXTRADATACONST(window).preventTypingEscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘bool UI_IsMouseOnWindow()’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:544:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 544 | if (WINDOWEXTRADATA(ui_global.windowStack[ui_global.windowStackPos - 1]).dropdown) | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_FinishWindowsInit()’: src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:647:21: note: in expansion of macro ‘WINDOWEXTRADATA’ 647 | if (WINDOWEXTRADATA(window).onScriptLoaded) | ^~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) | ^~~~~~~~~~~~ src/client/ui/ui_windows.cpp:648:56: note: in expansion of macro ‘WINDOWEXTRADATA’ 648 | UI_ExecuteEventActions(window, WINDOWEXTRADATA(window).onScriptLoaded); | ^~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp: In function ‘void UI_DebugTree_f()’: src/client/ui/ui_windows.cpp:676:26: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 676 | Com_Printf("+ %s %s\n", UI_Node_GetWidgetName(node), node->name); | ^~ ===> CXX [ufo] src/client/ui/node/ui_node_abstractnode.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractnode.cpp.o src/client/ui/node/ui_node_abstractnode.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_abstractnode.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_abstractnode.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/ui/node/ui_node_abstractoption.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractoption.cpp.o src/client/ui/node/ui_node_abstractoption.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_abstractoption.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractoption.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_abstractoption.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_abstractoption.cpp: In function ‘const char* UI_AbstractOptionGetCurrentValue(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:57:14: note: in expansion of macro ‘EXTRADATA’ 57 | if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:57:40: note: in expansion of macro ‘EXTRADATA’ 57 | if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:63:25: note: in expansion of macro ‘EXTRADATA’ 63 | if (!Q_strstart(EXTRADATA(node).cvar, "*cvar:")) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:66:44: note: in expansion of macro ‘EXTRADATA’ 66 | return UI_GetReferenceString(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In function ‘void UI_AbstractOptionSetCurrentValue(uiNode_t*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:71:33: note: in expansion of macro ‘EXTRADATA’ 71 | const char* cvarName = &EXTRADATA(node).cvar[6]; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In member function ‘virtual void uiAbstractOptionNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:81:13: note: in expansion of macro ‘EXTRADATA’ 81 | if (EXTRADATA(node).dataId == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:90:17: note: in expansion of macro ‘EXTRADATA’ 90 | EXTRADATA(node).count = count; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In function ‘uiNode_t* UI_AbstractOptionGetFirstOption(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:105:49: note: in expansion of macro ‘EXTRADATA’ 105 | const int v = UI_GetDataVersion(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:106:26: note: in expansion of macro ‘EXTRADATA’ 106 | if (v != EXTRADATA(node).versionId) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:108:57: note: in expansion of macro ‘EXTRADATA’ 108 | uiNode_t* option = UI_GetOption(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:114:25: note: in expansion of macro ‘EXTRADATA’ 114 | EXTRADATA(node).count = count; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:115:25: note: in expansion of macro ‘EXTRADATA’ 115 | EXTRADATA(node).versionId = v; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:117:37: note: in expansion of macro ‘EXTRADATA’ 117 | return UI_GetOption(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp: In function ‘void UI_RegisterAbstractOptionNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:150:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 150 | UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, EXTRADATA_TYPE, dataId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:152:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 152 | UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, EXTRADATA_TYPE, lineHeight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:155:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 155 | UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:157:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 157 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:159:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 159 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:162:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 162 | UI_RegisterExtradataNodeProperty(behaviour, "count", V_INT, EXTRADATA_TYPE, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:165:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 165 | UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:168:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 168 | UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_abstractscrollable.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractscrollable.cpp.o src/client/ui/node/ui_node_abstractscrollable.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_abstractscrollable.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractscrollable.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_abstractscrollable.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_abstractscrollable.cpp: In member function ‘bool uiAbstractScrollableNode::isSizeChange(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:32: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/ui_node_abstractscrollable.cpp:47:14: note: in expansion of macro ‘Vector2Equal’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:47:43: note: in expansion of macro ‘EXTRADATA’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:32: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/ui_node_abstractscrollable.cpp:47:14: note: in expansion of macro ‘Vector2Equal’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:47:43: note: in expansion of macro ‘EXTRADATA’ 47 | if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:39: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:48:45: note: in expansion of macro ‘EXTRADATA’ 48 | Vector2Copy(node->box.size, EXTRADATA(node).cacheSize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:58: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:48:45: note: in expansion of macro ‘EXTRADATA’ 48 | Vector2Copy(node->box.size, EXTRADATA(node).cacheSize); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In member function ‘bool uiAbstractScrollableNode::setScrollY(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:139:19: note: in expansion of macro ‘EXTRADATA’ 139 | updated = EXTRADATA(node).scrollY.set(viewPos, viewSize, fullSize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:141:24: note: in expansion of macro ‘EXTRADATA’ 141 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:142:46: note: in expansion of macro ‘EXTRADATA’ 142 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodePageUp(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:152:25: note: in expansion of macro ‘EXTRADATA’ 152 | const int pos = EXTRADATA(node).scrollY.viewPos - 10; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodePageDown(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:160:29: note: in expansion of macro ‘EXTRADATA’ 160 | b->setScrollY(node, EXTRADATA(node).scrollY.viewPos + 10, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodeMoveUp(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:166:29: note: in expansion of macro ‘EXTRADATA’ 166 | b->setScrollY(node, EXTRADATA(node).scrollY.viewPos - 1, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodeMoveDown(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:172:29: note: in expansion of macro ‘EXTRADATA’ 172 | b->setScrollY(node, EXTRADATA(node).scrollY.viewPos + 1, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_AbstractScrollableNodeMoveEnd(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:187:29: note: in expansion of macro ‘EXTRADATA’ 187 | b->setScrollY(node, EXTRADATA(node).scrollY.fullSize, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In member function ‘bool uiAbstractScrollableNode::scrollY(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:197:33: note: in expansion of macro ‘EXTRADATA’ 197 | return setScrollY(node, EXTRADATA(node).scrollY.viewPos + offset, -1, -1); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp: In function ‘void UI_RegisterAbstractScrollableNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:208:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 208 | UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:210:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 210 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:212:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 212 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:214:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 214 | UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_abstractscrollbar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractscrollbar.cpp.o src/client/ui/node/ui_node_abstractscrollbar.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_abstractscrollbar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_abstractscrollbar.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/ui_node_abstractscrollbar.cpp: In function ‘void UI_RegisterAbstractScrollbarNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:41:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 41 | UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, EXTRADATA_TYPE, pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:43:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 43 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, viewsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:45:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 45 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, fullsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:48:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 48 | UI_RegisterExtradataNodeProperty(behaviour, "hidewhenunused", V_BOOL, EXTRADATA_TYPE, hideWhenUnused); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_abstractvalue.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractvalue.cpp.o src/client/ui/node/ui_node_abstractvalue.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_abstractvalue.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_abstractvalue.cpp:27: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_abstractvalue.cpp:29: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:49:9: note: in expansion of macro ‘EXTRADATA’ 49 | EXTRADATA(node).shiftIncreaseFactor = 2.0F; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:54:38: note: in expansion of macro ‘EXTRADATA’ 54 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).value, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:55:38: note: in expansion of macro ‘EXTRADATA’ 55 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).delta, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:56:38: note: in expansion of macro ‘EXTRADATA’ 56 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).max, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:57:38: note: in expansion of macro ‘EXTRADATA’ 57 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).min, 0); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::newNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:62:9: note: in expansion of macro ‘EXTRADATA’ 62 | EXTRADATA(node).value = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:63:9: note: in expansion of macro ‘EXTRADATA’ 63 | EXTRADATA(node).delta = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:64:9: note: in expansion of macro ‘EXTRADATA’ 64 | EXTRADATA(node).max = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:65:9: note: in expansion of macro ‘EXTRADATA’ 65 | EXTRADATA(node).min = Mem_PoolAllocType(float, ui_dynPool); | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/common.h:34: src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::deleteNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:70:18: note: in expansion of macro ‘EXTRADATA’ 70 | Mem_Free(EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:71:18: note: in expansion of macro ‘EXTRADATA’ 71 | Mem_Free(EXTRADATA(node).delta); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:72:18: note: in expansion of macro ‘EXTRADATA’ 72 | Mem_Free(EXTRADATA(node).max); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:73:18: note: in expansion of macro ‘EXTRADATA’ 73 | Mem_Free(EXTRADATA(node).min); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:74:9: note: in expansion of macro ‘EXTRADATA’ 74 | EXTRADATA(node).value = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:75:9: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).delta = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:76:9: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).max = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:77:9: note: in expansion of macro ‘EXTRADATA’ 77 | EXTRADATA(node).min = nullptr; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getFactorFloat(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:102:16: note: in expansion of macro ‘EXTRADATACONST’ 102 | return EXTRADATACONST(node).shiftIncreaseFactor; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘void uiAbstractValueNode::setRange(uiNode_t*, float, float)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:107:13: note: in expansion of macro ‘EXTRADATA’ 107 | if (EXTRADATA(node).min == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:108:46: note: in expansion of macro ‘EXTRADATA’ 108 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).min, min); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:110:13: note: in expansion of macro ‘EXTRADATA’ 110 | if (EXTRADATA(node).max == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:111:46: note: in expansion of macro ‘EXTRADATA’ 111 | UI_InitCvarOrFloat((float**)&EXTRADATA(node).max, max); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘bool uiAbstractValueNode::setValue(uiNode_t*, float)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:117:55: note: in expansion of macro ‘EXTRADATA’ 117 | const float last = UI_GetReferenceFloat(node, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:118:54: note: in expansion of macro ‘EXTRADATA’ 118 | const float max = UI_GetReferenceFloat(node, EXTRADATA(node).max); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:119:54: note: in expansion of macro ‘EXTRADATA’ 119 | const float min = UI_GetReferenceFloat(node, EXTRADATA(node).min); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:133:9: note: in expansion of macro ‘EXTRADATA’ 133 | EXTRADATA(node).lastdiff = value - last; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:134:46: note: in expansion of macro ‘EXTRADATA’ 134 | const char* cvar = Q_strstart((char*)EXTRADATA(node).value, "*cvar:"); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:138:27: note: in expansion of macro ‘EXTRADATA’ 138 | *(float*) EXTRADATA(node).value = value; | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘bool uiAbstractValueNode::incValue(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:149:50: note: in expansion of macro ‘EXTRADATA’ 149 | float value = UI_GetReferenceFloat(node, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:150:79: note: in expansion of macro ‘EXTRADATA’ 150 | const float delta = getFactorFloat(node) * UI_GetReferenceFloat(node, EXTRADATA(node).delta); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘bool uiAbstractValueNode::decValue(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:156:50: note: in expansion of macro ‘EXTRADATA’ 156 | float value = UI_GetReferenceFloat(node, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:157:79: note: in expansion of macro ‘EXTRADATA’ 157 | const float delta = getFactorFloat(node) * UI_GetReferenceFloat(node, EXTRADATA(node).delta); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getMin(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:163:43: note: in expansion of macro ‘EXTRADATACONST’ 163 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).min); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getMax(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:168:43: note: in expansion of macro ‘EXTRADATACONST’ 168 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).max); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getDelta(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:173:43: note: in expansion of macro ‘EXTRADATACONST’ 173 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).delta); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘float uiAbstractValueNode::getValue(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:178:43: note: in expansion of macro ‘EXTRADATACONST’ 178 | return UI_GetReferenceFloat(node, EXTRADATACONST(node).value); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In member function ‘virtual void uiAbstractValueNode::clone(const uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:187:65: note: in expansion of macro ‘EXTRADATACONST’ 187 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).value, (float**)&EXTRADATA(clone).value); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:187:105: note: in expansion of macro ‘EXTRADATA’ 187 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).value, (float**)&EXTRADATA(clone).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:188:65: note: in expansion of macro ‘EXTRADATACONST’ 188 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).delta, (float**)&EXTRADATA(clone).delta); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:188:105: note: in expansion of macro ‘EXTRADATA’ 188 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).delta, (float**)&EXTRADATA(clone).delta); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:189:65: note: in expansion of macro ‘EXTRADATACONST’ 189 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).max, (float**)&EXTRADATA(clone).max); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:189:103: note: in expansion of macro ‘EXTRADATA’ 189 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).max, (float**)&EXTRADATA(clone).max); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractValueExtraData_t*’ {aka ‘const abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 37 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:190:65: note: in expansion of macro ‘EXTRADATACONST’ 190 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).min, (float**)&EXTRADATA(clone).min); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:190:103: note: in expansion of macro ‘EXTRADATA’ 190 | UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).min, (float**)&EXTRADATA(clone).min); | ^~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp: In function ‘void UI_RegisterAbstractValueNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:201:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 201 | UI_RegisterExtradataNodeProperty(behaviour, "current", V_CVAR_OR_FLOAT, abstractValueExtraData_t, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:203:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 203 | UI_RegisterExtradataNodeProperty(behaviour, "delta", V_CVAR_OR_FLOAT, abstractValueExtraData_t, delta); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:205:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 205 | UI_RegisterExtradataNodeProperty(behaviour, "max", V_CVAR_OR_FLOAT, abstractValueExtraData_t, max); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:207:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 207 | UI_RegisterExtradataNodeProperty(behaviour, "min", V_CVAR_OR_FLOAT, abstractValueExtraData_t, min); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:209:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 209 | UI_RegisterExtradataNodeProperty(behaviour, "shiftincreasefactor", V_FLOAT, abstractValueExtraData_t, shiftIncreaseFactor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractValueExtraData_t*’ {aka ‘abstractValueExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:214:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 214 | UI_RegisterExtradataNodeProperty(behaviour, "lastdiff", V_FLOAT, abstractValueExtraData_t, lastdiff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_bar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_bar.cpp.o src/client/ui/node/ui_node_bar.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_bar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_bar.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_bar.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:55:29: note: in expansion of macro ‘EXTRADATA’ 55 | if (node->state && !EXTRADATA(node).readOnly) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:58:37: note: in expansion of macro ‘EXTRADATA’ 58 | const float scale = EXTRADATA(node).noHover ? 1.0 : 0.8; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:71:17: note: in expansion of macro ‘EXTRADATA’ 71 | switch (EXTRADATA(node).orientation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:85:78: note: in expansion of macro ‘EXTRADATA’ 85 | Com_Printf("UI_BarNodeDraw: Orientation %d not supported\n", EXTRADATA(node).orientation); | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:110:17: note: in expansion of macro ‘EXTRADATA’ 110 | switch (EXTRADATA(node).orientation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:125:91: note: in expansion of macro ‘EXTRADATA’ 125 | Com_Printf("UI_BarNodeCapturedMouseMove: Orientation %d not supported\n", EXTRADATA(node).orientation); | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:134:31: note: in expansion of macro ‘EXTRADATA’ 134 | if (node->disabled || EXTRADATA(node).readOnly) | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In member function ‘virtual void uiBarNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:155:9: note: in expansion of macro ‘EXTRADATA’ 155 | EXTRADATA(node).orientation = ALIGN_CR; | ^~~~~~~~~ src/client/ui/node/ui_node_bar.cpp: In function ‘void UI_RegisterBarNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:168:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 168 | UI_RegisterExtradataNodeProperty(behaviour, "direction", V_ALIGN, EXTRADATA_TYPE, orientation); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:172:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 172 | UI_RegisterExtradataNodeProperty(behaviour, "readonly", V_BOOL, EXTRADATA_TYPE, readOnly); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘barExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:176:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 176 | UI_RegisterExtradataNodeProperty(behaviour, "nohover", V_BOOL, EXTRADATA_TYPE, noHover); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_base.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_base.cpp.o src/client/ui/node/ui_node_base.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_base.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_base.cpp:24: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_base.cpp:29: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiAbstractBaseNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:50:9: note: in expansion of macro ‘EXTRADATA’ 50 | EXTRADATA(node).baseid = -1; | ^~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseLayoutNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:72:29: note: in expansion of macro ‘EXTRADATA’ 72 | GAME_DrawBaseLayout(EXTRADATA(node).baseid, nodepos[0], nodepos[1], totalMarge, width, height, node->padding, node->bgcolor, node->color); | ^~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:116:23: note: in expansion of macro ‘EXTRADATA’ 116 | GAME_DrawBase(EXTRADATA(node).baseid, nodePos[0], nodePos[1], width, height, col, row, hover, BASE_IMAGE_OVERLAY); | ^~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::drawTooltip(const uiNode_t*, int, int) const’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:133:30: note: in expansion of macro ‘EXTRADATACONST’ 133 | GAME_DrawBaseTooltip(EXTRADATACONST(node).baseid, x, y, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:153:30: note: in expansion of macro ‘EXTRADATACONST’ 153 | GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE1, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:173:30: note: in expansion of macro ‘EXTRADATACONST’ 173 | GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE2, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In member function ‘virtual void uiBaseMapNode::onMiddleClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseExtraData_t*’ {aka ‘const baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:194:30: note: in expansion of macro ‘EXTRADATACONST’ 194 | GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE3, col, row); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp: In function ‘void UI_RegisterAbstractBaseNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseExtraData_t*’ {aka ‘baseExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:216:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 216 | UI_RegisterExtradataNodeProperty(behaviour, "baseid", V_INT, baseExtraData_t, baseid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_baseinventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_baseinventory.cpp.o src/client/ui/node/ui_node_baseinventory.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_baseinventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_baseinventory.cpp:28: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_baseinventory.cpp:36: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_baseinventory.cpp: In function ‘Item* UI_ContainerNodeGetExistingItem(const uiNode_t*, const objDef_t*, itemFilterTypes_t)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:80:62: note: in expansion of macro ‘EXTRADATACONST’ 80 | return INV_SearchInInventoryWithFilter(ui_inventory, EXTRADATACONST(node).super.container, item, filterType); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_ContainerItemIteratorInit(containerItemIterator_t*, const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:172:57: note: in expansion of macro ‘EXTRADATACONST’ 172 | iterator->filterEquipType = (itemFilterTypes_t) EXTRADATACONST(node).filterEquipType; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:174:13: note: in expansion of macro ‘EXTRADATACONST’ 174 | if (EXTRADATACONST(node).displayAvailableOnTop) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:176:21: note: in expansion of macro ‘EXTRADATACONST’ 176 | if (EXTRADATACONST(node).displayWeapon) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:178:21: note: in expansion of macro ‘EXTRADATACONST’ 178 | if (EXTRADATACONST(node).displayAmmo) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:180:21: note: in expansion of macro ‘EXTRADATACONST’ 180 | if (EXTRADATACONST(node).displayImplant) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:183:21: note: in expansion of macro ‘EXTRADATACONST’ 183 | if (EXTRADATACONST(node).displayUnavailableItem) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:184:29: note: in expansion of macro ‘EXTRADATACONST’ 184 | if (EXTRADATACONST(node).displayWeapon) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:186:29: note: in expansion of macro ‘EXTRADATACONST’ 186 | if (EXTRADATACONST(node).displayAmmo) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:188:29: note: in expansion of macro ‘EXTRADATACONST’ 188 | if (EXTRADATACONST(node).displayImplant) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:192:37: note: in expansion of macro ‘EXTRADATACONST’ 192 | const int filter = (EXTRADATACONST(node).displayUnavailableItem) ? 0 : CII_AVAILABLEONLY; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:193:21: note: in expansion of macro ‘EXTRADATACONST’ 193 | if (EXTRADATACONST(node).displayWeapon) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:195:21: note: in expansion of macro ‘EXTRADATACONST’ 195 | if (EXTRADATACONST(node).displayAmmo) | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:197:21: note: in expansion of macro ‘EXTRADATACONST’ 197 | if (EXTRADATACONST(node).displayImplant) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_BaseInventoryNodeUpdateScroll(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:212:13: note: in expansion of macro ‘EXTRADATA’ 212 | if (EXTRADATA(node).onViewChange) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:213:46: note: in expansion of macro ‘EXTRADATA’ 213 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:224:9: note: in expansion of macro ‘EXTRADATA’ 224 | EXTRADATA(node).super.container = INVSH_GetInventoryDefinitionByID("equip"); | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘int UI_BaseInventoryNodeDrawItems(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:244:51: note: in expansion of macro ‘EXTRADATA’ 244 | const int cellWidth = node->box.size[0] / EXTRADATA(node).columns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:259:41: note: in expansion of macro ‘EXTRADATA’ 259 | const int col = items % EXTRADATA(node).columns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:264:50: note: in expansion of macro ‘EXTRADATA’ 264 | if (outOfNode || currentHeight < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:272:70: note: in expansion of macro ‘EXTRADATA’ 272 | if (outOfNode || currentHeight + rowHeight < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:273:44: note: in expansion of macro ‘EXTRADATA’ 273 | if (col == EXTRADATA(node).columns - 1) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:284:43: note: in expansion of macro ‘EXTRADATA’ 284 | pos[1] += currentHeight - EXTRADATA(node).scrollY.viewPos; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:335:36: note: in expansion of macro ‘EXTRADATA’ 335 | if (obj->weapon && EXTRADATA(node).displayAmmoOfWeapon) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:349:116: note: in expansion of macro ‘EXTRADATA’ 349 | icItem = UI_ContainerNodeGetExistingItem(node, tempItem.def(), (itemFilterTypes_t) EXTRADATA(node).filterEquipType); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:372:28: note: in expansion of macro ‘EXTRADATA’ 372 | if (col == EXTRADATA(node).columns - 1) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:375:45: note: in expansion of macro ‘EXTRADATA’ 375 | if (currentHeight - EXTRADATA(node).scrollY.viewPos >= node->box.size[1]) | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_BaseInventoryNodeDraw2(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:415:30: note: in expansion of macro ‘EXTRADATA’ 415 | if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:415:80: note: in expansion of macro ‘EXTRADATA’ 415 | if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:416:17: note: in expansion of macro ‘EXTRADATA’ 416 | EXTRADATA(node).scrollY.fullSize = needHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:417:17: note: in expansion of macro ‘EXTRADATA’ 417 | EXTRADATA(node).scrollY.viewSize = visibleHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:420:13: note: in expansion of macro ‘EXTRADATA’ 420 | if (EXTRADATA(node).scrollY.viewPos > needHeight - visibleHeight) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:421:17: note: in expansion of macro ‘EXTRADATA’ 421 | EXTRADATA(node).scrollY.viewPos = needHeight - visibleHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:424:13: note: in expansion of macro ‘EXTRADATA’ 424 | if (EXTRADATA(node).scrollY.viewPos < 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:425:17: note: in expansion of macro ‘EXTRADATA’ 425 | EXTRADATA(node).scrollY.viewPos = 0; | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:440:14: note: in expansion of macro ‘EXTRADATA’ 440 | if (!EXTRADATA(node).super.container) | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘Item* UI_BaseInventoryNodeGetItem(const uiNode_t*, int, int, int*, int*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:465:51: note: in expansion of macro ‘EXTRADATACONST’ 465 | const int cellWidth = node->box.size[0] / EXTRADATACONST(node).columns; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:483:41: note: in expansion of macro ‘EXTRADATACONST’ 483 | const int col = items % EXTRADATACONST(node).columns; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:489:50: note: in expansion of macro ‘EXTRADATACONST’ 489 | if (outOfNode || currentHeight < EXTRADATACONST(node).scrollY.viewPos) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:497:70: note: in expansion of macro ‘EXTRADATACONST’ 497 | if (outOfNode || currentHeight + rowHeight < EXTRADATACONST(node).scrollY.viewPos) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:498:44: note: in expansion of macro ‘EXTRADATACONST’ 498 | if (col == EXTRADATACONST(node).columns - 1) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:509:43: note: in expansion of macro ‘EXTRADATACONST’ 509 | pos[1] += currentHeight - EXTRADATACONST(node).scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:536:36: note: in expansion of macro ‘EXTRADATACONST’ 536 | if (obj->weapon && EXTRADATACONST(node).displayAmmoOfWeapon) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:546:109: note: in expansion of macro ‘EXTRADATACONST’ 546 | icItem = UI_ContainerNodeGetExistingItem(node, objammo, (itemFilterTypes_t) EXTRADATACONST(node).filterEquipType); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:569:28: note: in expansion of macro ‘EXTRADATACONST’ 569 | if (col == EXTRADATACONST(node).columns - 1) { | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const baseInventoryExtraData_t*’ {aka ‘const baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 50 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:572:45: note: in expansion of macro ‘EXTRADATACONST’ 572 | if (currentHeight - EXTRADATACONST(node).scrollY.viewPos >= node->box.size[1]) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:669:25: note: in expansion of macro ‘EXTRADATA’ 669 | EXTRADATA(node).super.lastSelectedId = dragInfoIC->def()->idx; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:670:29: note: in expansion of macro ‘EXTRADATA’ 670 | if (EXTRADATA(node).super.onSelect) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:671:62: note: in expansion of macro ‘EXTRADATA’ 671 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onSelect); | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual bool uiBaseInventoryNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:706:13: note: in expansion of macro ‘EXTRADATA’ 706 | if (EXTRADATA(node).scrollY.moveDelta(deltaY * 20)) { | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual void uiBaseInventoryNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:715:9: note: in expansion of macro ‘EXTRADATA’ 715 | EXTRADATA(node).super.container = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:716:9: note: in expansion of macro ‘EXTRADATA’ 716 | EXTRADATA(node).columns = 1; | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In member function ‘virtual bool uiBaseInventoryNode::onDndEnter(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:726:13: note: in expansion of macro ‘EXTRADATA’ 726 | if (EXTRADATA(target).super.container == nullptr) | ^~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp: In function ‘void UI_RegisterBaseInventoryNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:763:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 763 | UI_RegisterExtradataNodeProperty(behaviour, "displayweapon", V_BOOL, baseInventoryExtraData_t, displayWeapon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:765:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 765 | UI_RegisterExtradataNodeProperty(behaviour, "displayammo", V_BOOL, baseInventoryExtraData_t, displayAmmo); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:767:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 767 | UI_RegisterExtradataNodeProperty(behaviour, "displayimplant", V_BOOL, baseInventoryExtraData_t, displayImplant); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:769:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 769 | UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableitem", V_BOOL, baseInventoryExtraData_t, displayUnavailableItem); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:771:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 771 | UI_RegisterExtradataNodeProperty(behaviour, "displayavailableontop", V_BOOL, baseInventoryExtraData_t, displayAvailableOnTop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:773:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 773 | UI_RegisterExtradataNodeProperty(behaviour, "displayammoofweapon", V_BOOL, baseInventoryExtraData_t, displayAmmoOfWeapon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:775:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 775 | UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableammoofweapon", V_BOOL, baseInventoryExtraData_t, displayUnavailableAmmoOfWeapon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:777:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 777 | UI_RegisterExtradataNodeProperty(behaviour, "columns", V_INT, baseInventoryExtraData_t, columns); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:779:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 779 | UI_RegisterExtradataNodeProperty(behaviour, "filter", V_INT, baseInventoryExtraData_t, filterEquipType); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:782:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 782 | UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, baseInventoryExtraData_t, scrollY.viewPos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:784:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 784 | UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, baseInventoryExtraData_t, scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:786:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 786 | UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, baseInventoryExtraData_t, scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘baseInventoryExtraData_t*’ {aka ‘baseInventoryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:788:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 788 | UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, baseInventoryExtraData_t, onViewChange); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_battlescape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_battlescape.cpp.o src/client/ui/node/ui_node_battlescape.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_battlescape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_battlescape.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_battlescape.cpp:32: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_button.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_button.cpp.o src/client/ui/node/ui_node_button.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_button.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_button.cpp:29: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_button.cpp:34: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_button.cpp: In member function ‘virtual void uiButtonNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:86:13: note: in expansion of macro ‘EXTRADATA’ 86 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:87:43: note: in expansion of macro ‘EXTRADATA’ 87 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:97:30: note: in expansion of macro ‘EXTRADATA’ 97 | const bool hasIcon = EXTRADATA(node).icon != nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:107:36: note: in expansion of macro ‘EXTRADATA’ 107 | content.size[0] += EXTRADATA(node).icon->size[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:108:36: note: in expansion of macro ‘EXTRADATA’ 108 | content.size[1] += EXTRADATA(node).icon->size[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:135:36: note: in expansion of macro ‘EXTRADATA’ 135 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:135:62: note: in expansion of macro ‘EXTRADATA’ 135 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:136:57: note: in expansion of macro ‘EXTRADATA’ 136 | iconPos[0], iconPos[1], EXTRADATA(node).icon->size[0], EXTRADATA(node).icon->size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:136:88: note: in expansion of macro ‘EXTRADATA’ 136 | iconPos[0], iconPos[1], EXTRADATA(node).icon->size[0], EXTRADATA(node).icon->size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_button.cpp: In function ‘void UI_RegisterButtonNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:187:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 187 | UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:188:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 188 | UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘buttonExtraData_t*’ {aka ‘buttonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:191:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 191 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_checkbox.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_checkbox.cpp.o src/client/ui/node/ui_node_checkbox.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_checkbox.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_checkbox.cpp:34: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_checkbox.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp: In member function ‘virtual void uiCheckBoxNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:67:24: note: in expansion of macro ‘EXTRADATA’ 67 | icon = EXTRADATA(node).iconUnchecked; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:69:24: note: in expansion of macro ‘EXTRADATA’ 69 | icon = EXTRADATA(node).iconChecked; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:71:24: note: in expansion of macro ‘EXTRADATA’ 71 | icon = EXTRADATA(node).iconIndeterminate; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:76:13: note: in expansion of macro ‘EXTRADATA’ 76 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:77:43: note: in expansion of macro ‘EXTRADATA’ 77 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, status, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp: In function ‘void UI_RegisterCheckBoxNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:137:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 137 | UI_RegisterExtradataNodeProperty(behaviour, "iconChecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconChecked); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:139:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 139 | UI_RegisterExtradataNodeProperty(behaviour, "iconUnchecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconUnchecked); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:141:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 141 | UI_RegisterExtradataNodeProperty(behaviour, "iconIndeterminate", V_UI_SPRITEREF, EXTRADATA_TYPE, iconIndeterminate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘checkboxExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:143:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 143 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_container.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_container.cpp.o src/client/ui/node/ui_node_container.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_container.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_container.cpp:34: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_container.cpp:42: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_container.cpp: In function ‘bool UI_IsScrollContainerNode(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:86:16: note: in expansion of macro ‘EXTRADATACONST’ 86 | return EXTRADATACONST(node).container && EXTRADATACONST(node).container->scroll; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:86:50: note: in expansion of macro ‘EXTRADATACONST’ 86 | return EXTRADATACONST(node).container && EXTRADATACONST(node).container->scroll; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawFreeSpace(uiNode_t*, Inventory*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:344:13: note: in expansion of macro ‘EXTRADATA’ 344 | if (EXTRADATA(node).container->single) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:346:66: note: in expansion of macro ‘EXTRADATA’ 346 | if (UI_DNDIsSourceNode(node) || inv->canHoldItem(EXTRADATA(node).container, od, 0, 0, dragInfoIC)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:347:37: note: in expansion of macro ‘EXTRADATA’ 347 | UI_DrawFree(EXTRADATA(node).container->id, node, nodepos[0], nodepos[1], node->box.size[0], node->box.size[1], true); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:361:72: note: in expansion of macro ‘EXTRADATA’ 361 | const int checkedTo = inv->canHoldItem(EXTRADATA(node).container, od, x, y, dragInfoIC); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:368:54: note: in expansion of macro ‘EXTRADATA’ 368 | if (INVSH_CheckShape(EXTRADATA(node).container->shape, x, y)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:370:61: note: in expansion of macro ‘EXTRADATA’ 370 | UI_DrawFree(EXTRADATA(node).container->id, node, nodepos[0] + x * C_UNIT, nodepos[1] + y * C_UNIT, C_UNIT, C_UNIT, showTUs); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:398:9: note: in expansion of macro ‘EXTRADATA’ 398 | EXTRADATA(node).container = container; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawSingle(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:446:36: note: in expansion of macro ‘EXTRADATA’ 446 | const invDef_t* contType = EXTRADATA(node).container; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawGrid(uiNode_t*, const objDef_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:509:60: note: in expansion of macro ‘EXTRADATA’ 509 | const Container &cont = ui_inventory->getContainer(EXTRADATA(node).container->id); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawDropPreview(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:536:47: note: in expansion of macro ‘EXTRADATA’ 536 | checkedTo = ui_inventory->canHoldItem(EXTRADATA(target).container, previewItem.def(), dragInfoToX, dragInfoToY, dragInfoIC); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:558:13: note: in expansion of macro ‘EXTRADATA’ 558 | if (EXTRADATA(target).container->single) { | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:584:14: note: in expansion of macro ‘EXTRADATA’ 584 | if (!EXTRADATA(node).container) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:597:13: note: in expansion of macro ‘EXTRADATA’ 597 | if (EXTRADATA(node).container->single) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:608:35: note: in expansion of macro ‘EXTRADATA’ 608 | if (UI_DNDIsDragging() && EXTRADATA(node).container->id != CID_EQUIP) | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘Item* UI_ContainerNodeGetItemAtPosition(const uiNode_t*, int, int, int*, int*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:644:51: note: in expansion of macro ‘EXTRADATACONST’ 644 | Item* result = ui_inventory->getItemAtPos(EXTRADATACONST(node).container, fromX, fromY); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeAutoPlaceItem(uiNode_t*, Item*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:691:37: note: in expansion of macro ‘EXTRADATA’ 691 | const invDef_t* container = EXTRADATA(node).container; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:751:9: note: in expansion of macro ‘EXTRADATA’ 751 | EXTRADATA(node).lastSelectedId = ic->def()->idx; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:752:13: note: in expansion of macro ‘EXTRADATA’ 752 | if (EXTRADATA(node).onSelect) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:753:46: note: in expansion of macro ‘EXTRADATA’ 753 | UI_ExecuteEventActions(node, EXTRADATA(node).onSelect); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:825:25: note: in expansion of macro ‘EXTRADATA’ 825 | EXTRADATA(node).lastSelectedId = dragInfoIC->def()->idx; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:826:29: note: in expansion of macro ‘EXTRADATA’ 826 | if (EXTRADATA(node).onSelect) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:827:62: note: in expansion of macro ‘EXTRADATA’ 827 | UI_ExecuteEventActions(node, EXTRADATA(node).onSelect); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual void uiContainerNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:859:9: note: in expansion of macro ‘EXTRADATA’ 859 | EXTRADATA(node).container = nullptr; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual bool uiContainerNode::onDndEnter(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:869:47: note: in expansion of macro ‘EXTRADATA’ 869 | return UI_DNDGetType() == DND_ITEM && EXTRADATA(target).container && (!UI_IsScrollContainerNode(target) || UI_DNDGetSourceNode() != target); | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual bool uiContainerNode::onDndMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: in expansion of macro ‘UI_EXTRADATA’ 61 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:886:41: note: in expansion of macro ‘EXTRADATA’ 886 | const invDef_t* containerType = EXTRADATA(target).container; | ^~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In member function ‘virtual bool uiContainerNode::onDndFinished(uiNode_t*, bool)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:966:43: note: in expansion of macro ‘EXTRADATACONST’ 966 | const invDef_t* sourceContainer = EXTRADATACONST(source).container; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:978:51: note: in expansion of macro ‘EXTRADATACONST’ 978 | const invDef_t* targetContainer = EXTRADATACONST(target).container; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const containerExtraData_t*’ {aka ‘const containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 62 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:988:59: note: in expansion of macro ‘EXTRADATACONST’ 988 | const invDef_t* targetContainer = EXTRADATACONST(target).container; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_RegisterContainerNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:1042:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 1042 | UI_RegisterExtradataNodeProperty(behaviour, "lastselectedid", V_INT, containerExtraData_t, lastSelectedId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘containerExtraData_t*’ {aka ‘containerExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:1044:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 1044 | UI_RegisterExtradataNodeProperty(behaviour, "onselect", V_UI_ACTION, containerExtraData_t, onSelect); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp: In function ‘void UI_ContainerNodeDrawDropPreview(uiNode_t*)’: src/client/ui/node/ui_node_container.cpp:544:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 544 | if (!Key_IsDown(K_SHIFT) || CL_BattlescapeRunning()) | ^~ src/client/ui/node/ui_node_container.cpp:546:9: note: here 546 | case INV_FITS_ONLY_ROTATED: | ^~~~ ===> CXX [ufo] src/client/ui/node/ui_node_controls.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_controls.cpp.o src/client/ui/node/ui_node_controls.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_controls.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_controls.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/ui/node/ui_node_data.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_data.cpp.o src/client/ui/node/ui_node_data.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_data.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_data.cpp:33: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_data.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_data.cpp: In function ‘void UI_RegisterDataNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘dataExtraData_t*’ {aka ‘dataExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_data.cpp:59:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 59 | UI_RegisterExtradataNodeProperty(behaviour, "number", V_FLOAT, EXTRADATA_TYPE, number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘dataExtraData_t*’ {aka ‘dataExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_data.cpp:62:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 62 | UI_RegisterExtradataNodeProperty(behaviour, "integer", V_INT, EXTRADATA_TYPE, number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_editor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_editor.cpp.o src/client/ui/node/ui_node_editor.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_editor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_editor.cpp:28: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_editor.cpp:35: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_ekg.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_ekg.cpp.o src/client/ui/node/ui_node_ekg.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_ekg.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_ekg.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_ekg.cpp:29: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_ekg.cpp: In member function ‘virtual void uiEkgNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:43:61: note: in expansion of macro ‘EXTRADATA’ 43 | const char* imageName = UI_GetReferenceString(node, EXTRADATA(node).super.source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:68:64: note: in expansion of macro ‘EXTRADATA’ 68 | current = Cvar_GetValue("mn_morale") / EXTRADATA(node).scaleCvarValue; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:70:60: note: in expansion of macro ‘EXTRADATA’ 70 | current = Cvar_GetValue("mn_hp") / EXTRADATA(node).scaleCvarValue; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:74:17: note: in expansion of macro ‘EXTRADATA’ 74 | EXTRADATA(node).super.texl[1] = (ekgMaxIndex - (int)(ekgValue / ekgDivide)) * ekgHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:75:17: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).super.texh[1] = EXTRADATA(node).super.texl[1] + ekgHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:75:49: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).super.texh[1] = EXTRADATA(node).super.texl[1] + ekgHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:76:17: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).super.texl[0] = -(int) (EXTRADATA(node).scrollSpeed * CL_Milliseconds()) % ekgWidth; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:76:57: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).super.texl[0] = -(int) (EXTRADATA(node).scrollSpeed * CL_Milliseconds()) % ekgWidth; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:77:17: note: in expansion of macro ‘EXTRADATA’ 77 | EXTRADATA(node).super.texh[0] = EXTRADATA(node).super.texl[0] + node->box.size[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:77:49: note: in expansion of macro ‘EXTRADATA’ 77 | EXTRADATA(node).super.texh[0] = EXTRADATA(node).super.texl[0] + node->box.size[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:86:29: note: in expansion of macro ‘EXTRADATA’ 86 | if (EXTRADATA(node).super.preventRatio) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:33: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:64: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:95: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:126: note: in expansion of macro ‘EXTRADATA’ 99 | EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); | ^~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp: In member function ‘virtual void uiEkgNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:108:9: note: in expansion of macro ‘EXTRADATA’ 108 | EXTRADATA(node).scaleCvarValue = 1.0f; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: in expansion of macro ‘UI_EXTRADATA’ 36 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:109:9: note: in expansion of macro ‘EXTRADATA’ 109 | EXTRADATA(node).scrollSpeed = 0.07f; | ^~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp: In function ‘void UI_RegisterEKGNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:120:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 120 | UI_RegisterExtradataNodeProperty(behaviour, "scrollspeed", V_FLOAT, ekgExtraData_t, scrollSpeed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘ekgExtraData_t*’ {aka ‘ekgExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:122:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 122 | UI_RegisterExtradataNodeProperty(behaviour, "scale", V_FLOAT, ekgExtraData_t, scaleCvarValue); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_geoscape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_geoscape.cpp.o src/client/ui/node/ui_node_geoscape.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_geoscape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_geoscape.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_geoscape.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::smoothRotate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:111:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 111 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:111:77: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 111 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:48: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:55: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:74: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:72: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:79: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:74: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:96: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:103: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:74: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 113 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:115:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 115 | if (UI_MAPEXTRADATACONST(node).smoothDeltaLength > UI_MAPEXTRADATACONST(node).smoothDeltaZoom) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:115:60: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 115 | if (UI_MAPEXTRADATACONST(node).smoothDeltaLength > UI_MAPEXTRADATACONST(node).smoothDeltaZoom) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:123:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 123 | rotationSpeed = sin(3.05f * diffAngle / UI_MAPEXTRADATACONST(node).smoothDeltaLength) * diffAngle; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:124:41: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 124 | if (diffAngle / UI_MAPEXTRADATACONST(node).smoothDeltaLength > 0.5) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:125:69: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 125 | rotationSpeed = std::min(diffAngle, UI_MAPEXTRADATACONST(node).curRotationSpeed + rotationSpeed * 0.5f); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:127:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 127 | UI_MAPEXTRADATA(node).curRotationSpeed = rotationSpeed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:38: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:76: note: in expansion of macro ‘UI_MAPEXTRADATA’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:48: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:35: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:62: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:76: note: in expansion of macro ‘UI_MAPEXTRADATA’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:72: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:35: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:86: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:76: note: in expansion of macro ‘UI_MAPEXTRADATA’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:47:96: note: in definition of macro ‘VectorAdd’ 47 | #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:35: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 129 | VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:130:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 130 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHACCELERATION * diffZoom / diffAngle * rotationSpeed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:130:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 130 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHACCELERATION * diffZoom / diffAngle * rotationSpeed; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:140:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 140 | if (fabsf(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom > 0.5f) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:142:56: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 142 | const float newSpeed = UI_MAPEXTRADATACONST(node).curZoomSpeed + sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:142:127: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 142 | const float newSpeed = UI_MAPEXTRADATACONST(node).curZoomSpeed + sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:145:70: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 145 | speed = sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION * 2.0; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:147:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 147 | UI_MAPEXTRADATA(node).curZoomSpeed = speed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:148:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 148 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + diffZoom * speed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:148:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 148 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + diffZoom * speed; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:39: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:70: note: in expansion of macro ‘UI_MAPEXTRADATA’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:20: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:58: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:70: note: in expansion of macro ‘UI_MAPEXTRADATA’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:20: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:77: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:70: note: in expansion of macro ‘UI_MAPEXTRADATA’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:20: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 154 | VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:155:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 155 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:156:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 156 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:156:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 156 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::smoothTranslate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:166:29: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 166 | const float dist1 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0] - UI_MAPEXTRADATACONST(node).center[0]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:166:89: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 166 | const float dist1 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0] - UI_MAPEXTRADATACONST(node).center[0]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:167:29: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 167 | const float dist2 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1] - UI_MAPEXTRADATACONST(node).center[1]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:167:89: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 167 | const float dist2 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1] - UI_MAPEXTRADATACONST(node).center[1]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:171:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 171 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:171:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 171 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:172:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 172 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:172:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 172 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1]; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:173:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 173 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:173:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 173 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:174:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 174 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:176:40: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 176 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:176:85: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 176 | const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:177:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 177 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).center[0] + SMOOTHING_STEP_2D * dist1 / length; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:177:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 177 | UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).center[0] + SMOOTHING_STEP_2D * dist1 / length; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:178:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 178 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).center[1] + SMOOTHING_STEP_2D * dist2 / length; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:178:51: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 178 | UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).center[1] + SMOOTHING_STEP_2D * dist2 / length; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:179:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 179 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHING_STEP_2D * diffZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:179:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 179 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHING_STEP_2D * diffZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::calcAndUploadDayAndNightTexture(uiNode_t*, float)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:205:14: note: in expansion of macro ‘UI_MAPEXTRADATA’ 205 | px = UI_MAPEXTRADATA(node).r_dayandnightAlpha; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:222:45: note: in expansion of macro ‘UI_MAPEXTRADATA’ 222 | R_UploadAlpha(r_dayandnightTexture, UI_MAPEXTRADATA(node).r_dayandnightAlpha); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:230:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 230 | UI_MAPEXTRADATA(node).flatgeoscape = cl_3dmap->integer == 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:231:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 231 | UI_MAPEXTRADATA(node).overlayMask = cl_geoscape_overlay->integer; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:232:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 232 | UI_MAPEXTRADATA(node).ambientLightFactor = cl_3dmapAmbient->value; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:233:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 233 | UI_MAPEXTRADATA(node).mapzoommin = cl_mapzoommin->value; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:234:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 234 | UI_MAPEXTRADATA(node).mapzoommax = cl_mapzoommax->value; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:236:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 236 | UI_GetNodeAbsPos(node, UI_MAPEXTRADATA(node).mapPos); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:39: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:237:37: note: in expansion of macro ‘UI_MAPEXTRADATA’ 237 | Vector2Copy(node->box.size, UI_MAPEXTRADATA(node).mapSize); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:52:58: note: in definition of macro ‘Vector2Copy’ 52 | #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:237:37: note: in expansion of macro ‘UI_MAPEXTRADATA’ 237 | Vector2Copy(node->box.size, UI_MAPEXTRADATA(node).mapSize); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:238:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 238 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:240:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 240 | UI_MAPEXTRADATA(node).mapSize[0] -= UI_MAPEXTRADATACONST(node).paddingRight; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:240:53: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 240 | UI_MAPEXTRADATA(node).mapSize[0] -= UI_MAPEXTRADATACONST(node).paddingRight; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:247:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 247 | if (UI_MAPEXTRADATACONST(node).smoothRotation) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:248:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 248 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:254:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 254 | geoscapeData_t& data = *UI_MAPEXTRADATA(node).geoscapeData; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:264:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 264 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:274:36: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 274 | R_DrawFlatGeoscape(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, (float) date.sec / SECONDS_PER_DAY, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:274:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 274 | R_DrawFlatGeoscape(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, (float) date.sec / SECONDS_PER_DAY, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:33: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 275 | UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 275 | UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:115: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 275 | UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:281:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 281 | if (UI_MAPEXTRADATACONST(node).zoom > 3.3) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:286:31: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 286 | R_Draw3DGlobe(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, date.day, date.sec, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:286:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 286 | R_Draw3DGlobe(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, date.day, date.sec, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:287:33: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 287 | UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATACONST(node).zoom, map, disableSolarRender, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:287:68: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 287 | UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATACONST(node).zoom, map, disableSolarRender, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:288:33: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 288 | UI_MAPEXTRADATACONST(node).ambientLightFactor, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_NATION, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:288:80: note: in expansion of macro ‘UI_MAPEXTRADATA’ 288 | UI_MAPEXTRADATACONST(node).ambientLightFactor, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_NATION, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:289:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 289 | UI_MAPEXTRADATA(node).overlayMask & OVERLAY_XVI, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_RADAR, r_xviTexture, r_radarTexture, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:289:82: note: in expansion of macro ‘UI_MAPEXTRADATA’ 289 | UI_MAPEXTRADATA(node).overlayMask & OVERLAY_XVI, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_RADAR, r_xviTexture, r_radarTexture, | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:307:42: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 307 | const float zoom = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:309:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 309 | UI_MAPEXTRADATA(node).center[0] -= (float) (mousePosX - oldMousePosX) / (node->box.size[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:309:110: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 309 | UI_MAPEXTRADATA(node).center[0] -= (float) (mousePosX - oldMousePosX) / (node->box.size[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:310:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 310 | UI_MAPEXTRADATA(node).center[1] -= (float) (mousePosY - oldMousePosY) / (node->box.size[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:310:110: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 310 | UI_MAPEXTRADATA(node).center[1] -= (float) (mousePosY - oldMousePosY) / (node->box.size[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:313:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 313 | while (UI_MAPEXTRADATACONST(node).center[i] < 0.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:314:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 314 | UI_MAPEXTRADATA(node).center[i] += 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:315:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 315 | while (UI_MAPEXTRADATACONST(node).center[i] > 1.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:316:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 316 | UI_MAPEXTRADATA(node).center[i] -= 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:318:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 318 | if (UI_MAPEXTRADATACONST(node).center[1] < zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:319:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 319 | UI_MAPEXTRADATA(node).center[1] = zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:320:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 320 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:321:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 321 | UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:327:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 327 | UI_MAPEXTRADATA(node).angles[PITCH] += ROTATE_SPEED * (mousePosX - oldMousePosX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:327:100: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 327 | UI_MAPEXTRADATA(node).angles[PITCH] += ROTATE_SPEED * (mousePosX - oldMousePosX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:328:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 328 | UI_MAPEXTRADATA(node).angles[YAW] -= ROTATE_SPEED * (mousePosY - oldMousePosY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:328:98: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 328 | UI_MAPEXTRADATA(node).angles[YAW] -= ROTATE_SPEED * (mousePosY - oldMousePosY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:331:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 331 | while (UI_MAPEXTRADATACONST(node).angles[YAW] > 0.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:332:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 332 | UI_MAPEXTRADATA(node).angles[YAW] = 0.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:333:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 333 | while (UI_MAPEXTRADATACONST(node).angles[YAW] < -180.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:334:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 334 | UI_MAPEXTRADATA(node).angles[YAW] = -180.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:336:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 336 | while (UI_MAPEXTRADATACONST(node).angles[PITCH] > 180.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:337:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 337 | UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:338:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 338 | while (UI_MAPEXTRADATACONST(node).angles[PITCH] < -180.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:339:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 339 | UI_MAPEXTRADATA(node).angles[PITCH] += 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:343:42: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 343 | const float zoom = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:345:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 345 | UI_MAPEXTRADATA(node).zoom *= pow(0.995, mousePosY - oldMousePosY); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:346:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 346 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:346:55: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 346 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:347:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 347 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:347:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 347 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:348:26: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 348 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:348:60: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 348 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:349:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 349 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:349:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 349 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:351:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 351 | if (UI_MAPEXTRADATACONST(node).center[1] < zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:352:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 352 | UI_MAPEXTRADATA(node).center[1] = zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:353:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 353 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:354:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 354 | UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::startMouseShifting(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:368:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 368 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:372:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 372 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::screenToMap(const uiNode_t*, int, int, vec_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 386 | pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 386 | pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:112: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 386 | pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:387:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 387 | - (UI_MAPEXTRADATACONST(node).center[0] - 0.5)) * 360.0; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 388 | pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 388 | pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:112: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 388 | pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:389:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 389 | - (UI_MAPEXTRADATACONST(node).center[1] - 0.5)) * 180.0; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::screenTo3DMap(const uiNode_t*, int, int, vec_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:69:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 69 | #define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:410:30: note: in expansion of macro ‘GLOBE_RADIUS’ 410 | const float radius = GLOBE_RADIUS; | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:42: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:413:25: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 413 | Vector2Set(mid, UI_MAPEXTRADATACONST(node).mapPos[0] + UI_MAPEXTRADATACONST(node).mapSize[0] / 2.0f, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:42: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:413:64: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 413 | Vector2Set(mid, UI_MAPEXTRADATACONST(node).mapPos[0] + UI_MAPEXTRADATACONST(node).mapSize[0] / 2.0f, | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:54: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:414:25: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 414 | UI_MAPEXTRADATACONST(node).mapPos[1] + UI_MAPEXTRADATACONST(node).mapSize[1] / 2.0f); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:54: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:414:64: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 414 | UI_MAPEXTRADATACONST(node).mapPos[1] + UI_MAPEXTRADATACONST(node).mapSize[1] / 2.0f); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:440:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 440 | RotatePointAroundVector(v1, rotationAxis, v, UI_MAPEXTRADATACONST(node).angles[YAW]); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:445:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 445 | RotatePointAroundVector(v, rotationAxis, v1, UI_MAPEXTRADATACONST(node).angles[PITCH]); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:460:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 460 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘void uiGeoscapeNode::zoom(uiNode_t*, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:508:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 508 | UI_MAPEXTRADATA(node).zoom *= pow(0.995, (out ? 10: -10)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:509:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 509 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:509:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 509 | if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:510:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 510 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:510:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 510 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:511:18: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 511 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:511:52: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 511 | else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:512:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 512 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:512:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 512 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:514:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 514 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:515:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 515 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:515:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 515 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:516:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 516 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:516:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 516 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:517:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 517 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:517:72: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 517 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:518:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 518 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:518:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 518 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:520:9: note: in expansion of macro ‘UI_MAPEXTRADATA’ 520 | UI_MAPEXTRADATA(node).smoothRotation = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In member function ‘virtual void uiGeoscapeNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:176:36: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_geoscape.cpp:539:9: note: in expansion of macro ‘OBJZERO’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:539:17: note: in expansion of macro ‘EXTRADATA’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:176:56: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_geoscape.cpp:539:9: note: in expansion of macro ‘OBJZERO’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:539:17: note: in expansion of macro ‘EXTRADATA’ 539 | OBJZERO(EXTRADATA(node)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:540:9: note: in expansion of macro ‘EXTRADATA’ 540 | EXTRADATA(node).angles[YAW] = GLOBE_ROTATE; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:541:9: note: in expansion of macro ‘EXTRADATA’ 541 | EXTRADATA(node).center[0] = EXTRADATA(node).center[1] = 0.5; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:541:37: note: in expansion of macro ‘EXTRADATA’ 541 | EXTRADATA(node).center[0] = EXTRADATA(node).center[1] = 0.5; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:542:9: note: in expansion of macro ‘EXTRADATA’ 542 | EXTRADATA(node).zoom = 1.0; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:35: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:543:20: note: in expansion of macro ‘EXTRADATA’ 543 | Vector2Set(EXTRADATA(node).smoothFinal2DGeoscapeCenter, 0.5, 0.5); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:61:47: note: in definition of macro ‘Vector2Set’ 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:543:20: note: in expansion of macro ‘EXTRADATA’ 543 | Vector2Set(EXTRADATA(node).smoothFinal2DGeoscapeCenter, 0.5, 0.5); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:35: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:544:19: note: in expansion of macro ‘EXTRADATA’ 544 | VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:47: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:544:19: note: in expansion of macro ‘EXTRADATA’ 544 | VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:59: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:544:19: note: in expansion of macro ‘EXTRADATA’ 544 | VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:547:9: note: in expansion of macro ‘EXTRADATA’ 547 | EXTRADATA(node).geoscapeData = &geoscapeData; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:551:9: note: in expansion of macro ‘EXTRADATA’ 551 | EXTRADATA(node).r_dayandnightAlpha = Mem_AllocTypeN(byte, DAN_WIDTH * DAN_HEIGHT); | ^~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In function ‘void UI_GeoscapeNodeZoom_f()’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:591:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 591 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, -zoomAmount); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:591:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 591 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, -zoomAmount); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:594:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 594 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, zoomAmount); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:594:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 594 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, zoomAmount); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:601:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 601 | if (UI_MAPEXTRADATACONST(node).smoothFinalZoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:601:58: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 601 | if (UI_MAPEXTRADATACONST(node).smoothFinalZoom < UI_MAPEXTRADATACONST(node).mapzoommin) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:602:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 602 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:602:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 602 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommin; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:603:18: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 603 | else if (UI_MAPEXTRADATACONST(node).smoothFinalZoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:603:63: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 603 | else if (UI_MAPEXTRADATACONST(node).smoothFinalZoom > UI_MAPEXTRADATACONST(node).mapzoommax) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:604:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 604 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:604:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 604 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommax; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:606:13: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 606 | if (UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:607:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 607 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:607:46: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 607 | UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:608:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 608 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:608:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 608 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:609:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 609 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:609:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 609 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:610:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 610 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:610:72: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 610 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:611:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 611 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:611:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 611 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:39: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:58: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:77: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 613 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:614:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 614 | UI_MAPEXTRADATA(node).smoothDeltaLength = 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:615:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 615 | UI_MAPEXTRADATA(node).smoothRotation = true; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 616 | UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:62: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 616 | UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:107: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 616 | UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In function ‘void UI_GeoscapeNodeScroll_f()’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:659:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 659 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:39: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:58: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:77: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:63: note: in expansion of macro ‘UI_MAPEXTRADATA’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:28: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 663 | VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:666:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 666 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += ROTATE_SPEED * (scrollX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:666:98: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 666 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += ROTATE_SPEED * (scrollX) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:667:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 667 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] -= ROTATE_SPEED * (scrollY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:667:96: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 667 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] -= ROTATE_SPEED * (scrollY) / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:669:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 669 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[YAW] < -180.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:670:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 670 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] = -180.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:672:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 672 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[YAW] > 0.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:673:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 673 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] = 0.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:676:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 676 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[PITCH] > 180.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:677:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 677 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] -= 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:678:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 678 | UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:680:24: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 680 | while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[PITCH] < -180.0) { | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:681:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 681 | UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:682:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 682 | UI_MAPEXTRADATA(node).angles[PITCH] += 360.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:48: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:55: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:82: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:72: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:79: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:82: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:96: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:45:103: note: in definition of macro ‘VectorSubtract’ 45 | #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) | ^ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:82: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 684 | VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:685:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 685 | UI_MAPEXTRADATA(node).smoothDeltaLength = VectorLength(diff); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:687:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 687 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:687:57: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 687 | UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:688:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 688 | UI_MAPEXTRADATA(node).smoothDeltaZoom = 0.0f; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:689:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 689 | UI_MAPEXTRADATA(node).smoothRotation = true; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 693 | UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:73: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 693 | UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:113: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 693 | UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:17: note: in expansion of macro ‘UI_MAPEXTRADATA’ 694 | UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:73: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 694 | UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:113: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 694 | UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:696:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 696 | while (UI_MAPEXTRADATACONST(node).center[i] < 0.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:697:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 697 | UI_MAPEXTRADATA(node).center[i] += 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:698:32: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 698 | while (UI_MAPEXTRADATACONST(node).center[i] > 1.0) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:699:33: note: in expansion of macro ‘UI_MAPEXTRADATA’ 699 | UI_MAPEXTRADATA(node).center[i] -= 1.0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:701:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 701 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:701:66: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 701 | if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:702:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 702 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:702:65: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 702 | UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:703:21: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 703 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:703:72: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 703 | if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:704:25: note: in expansion of macro ‘UI_MAPEXTRADATA’ 704 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:704:71: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 704 | UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp: In function ‘void UI_RegisterGeoscapeNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:715:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 715 | UI_RegisterExtradataNodeProperty(behaviour, "padding-right", V_FLOAT, EXTRADATA_TYPE, paddingRight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_image.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_image.cpp.o src/client/ui/node/ui_node_image.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_image.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_image.cpp:39: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_image.cpp:42: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_image.cpp: In member function ‘virtual void uiImageNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:59:21: note: in expansion of macro ‘EXTRADATA’ 59 | if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:59:53: note: in expansion of macro ‘EXTRADATA’ 59 | if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:60:45: note: in expansion of macro ‘EXTRADATA’ 60 | node->box.size[0] = EXTRADATA(node).texh[0] - EXTRADATA(node).texl[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:60:71: note: in expansion of macro ‘EXTRADATA’ 60 | node->box.size[0] = EXTRADATA(node).texh[0] - EXTRADATA(node).texl[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:61:45: note: in expansion of macro ‘EXTRADATA’ 61 | node->box.size[1] = EXTRADATA(node).texh[1] - EXTRADATA(node).texl[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:61:71: note: in expansion of macro ‘EXTRADATA’ 61 | node->box.size[1] = EXTRADATA(node).texh[1] - EXTRADATA(node).texl[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:62:28: note: in expansion of macro ‘EXTRADATA’ 62 | } else if (EXTRADATA(node).source) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:63:61: note: in expansion of macro ‘EXTRADATA’ 63 | const image_t* image = UI_LoadImage(EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/ui_node_image.cpp: In member function ‘virtual void uiImageNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:129:61: note: in expansion of macro ‘EXTRADATA’ 129 | const char* imageName = UI_GetReferenceString(node, EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:169:21: note: in expansion of macro ‘EXTRADATA’ 169 | if (EXTRADATA(node).preventRatio) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:182:25: note: in expansion of macro ‘EXTRADATA’ 182 | EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:182:50: note: in expansion of macro ‘EXTRADATA’ 182 | EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:183:25: note: in expansion of macro ‘EXTRADATA’ 183 | EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: in expansion of macro ‘UI_EXTRADATA’ 49 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:183:50: note: in expansion of macro ‘EXTRADATA’ 183 | EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); | ^~~~~~~~~ src/client/ui/node/ui_node_image.cpp: In function ‘void UI_RegisterImageNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:203:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 203 | UI_RegisterExtradataNodeProperty(behaviour, "preventratio", V_BOOL, EXTRADATA_TYPE, preventRatio); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:207:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 207 | UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, EXTRADATA_TYPE, mousefx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:210:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 210 | UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:212:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 212 | UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘imageExtraData_t*’ {aka ‘imageExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:215:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 215 | UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp: In member function ‘virtual void uiImageNode::draw(uiNode_t*)’: src/client/ui/node/ui_node_image.cpp:181:25: warning: ‘imagepos[0]’ may be used uninitialized [-Wmaybe-uninitialized] 181 | UI_DrawNormImage(false, imagepos[0] + node->padding, imagepos[1] + node->padding, size[0], size[1], | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 183 | EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:126:16: note: ‘imagepos[0]’ was declared here 126 | vec2_t imagepos; | ^~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_item.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_item.cpp.o src/client/ui/node/ui_node_item.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_item.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_item.cpp:27: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/ui_node_model.h:29, from src/client/ui/node/ui_node_item.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_item.cpp: In member function ‘virtual void uiItemNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:46:55: note: in expansion of macro ‘EXTRADATA’ 46 | const char* ref = UI_GetReferenceString(node, EXTRADATA(node).model); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:60:21: note: in expansion of macro ‘EXTRADATA’ 60 | if (EXTRADATA(node).containerLike || Q_strnull(model)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:70:71: note: in expansion of macro ‘EXTRADATA’ 70 | UI_DrawItem(node, itemNodePos, &item, -1, -1, EXTRADATA(node).scale, color); | ^~~~~~~~~ src/client/ui/node/ui_node_item.cpp: In function ‘void UI_RegisterItemNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:86:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 86 | UI_RegisterExtradataNodeProperty(behaviour, "containerlike", V_BOOL, modelExtraData_t, containerLike); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_linechart.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_linechart.cpp.o src/client/ui/node/ui_node_linechart.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_linechart.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_linechart.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_linechart.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_linechart.cpp: In member function ‘virtual void uiLineChartNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:40:28: note: in expansion of macro ‘EXTRADATA’ 40 | const int dataId = EXTRADATA(node).dataId; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:48:17: note: in expansion of macro ‘EXTRADATA’ 48 | EXTRADATA(node).dataId = 0; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:58:13: note: in expansion of macro ‘EXTRADATA’ 58 | if (EXTRADATA(node).displayAxes) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: in expansion of macro ‘UI_EXTRADATA’ 35 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:66:25: note: in expansion of macro ‘EXTRADATA’ 66 | R_Color(EXTRADATA(node).axesColor); | ^~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp: In function ‘void UI_RegisterLineChartNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:91:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 91 | UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, lineChartExtraData_t, dataId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:93:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 93 | UI_RegisterExtradataNodeProperty(behaviour, "displayaxes", V_BOOL, lineChartExtraData_t, displayAxes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘lineChartExtraData_t*’ {aka ‘lineChartExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:95:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 95 | UI_RegisterExtradataNodeProperty(behaviour, "axescolor", V_COLOR, lineChartExtraData_t, axesColor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_material_editor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_material_editor.cpp.o src/client/ui/node/ui_node_material_editor.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_material_editor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../cl_shared.h:28, from src/client/ui/node/../../client.h:31, from src/client/ui/node/ui_node_material_editor.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_material_editor.cpp:27: src/client/ui/node/ui_node_material_editor.cpp: In member function ‘virtual void uiMaterialEditorNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:161:43: note: in expansion of macro ‘EXTRADATA’ 161 | if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp: In function ‘int UI_MaterialEditorNodeGetImageAtPosition(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:231:43: note: in expansion of macro ‘EXTRADATA’ 231 | if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_messagelist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_messagelist.cpp.o src/client/ui/node/ui_node_messagelist.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_messagelist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_messagelist.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_messagelist.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_messagelist.cpp: In function ‘void UI_MessageDraw(const uiNode_t*, uiMessageListNodeMessage_t*, const char*, int, int, int, int*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:126:99: note: in expansion of macro ‘EXTRADATACONST’ 126 | UI_DrawString(fontID, ALIGN_UL, x, y, x, column1, LINEHEIGHT, message->timestamp, EXTRADATACONST(node).scrollY.viewSize, 0, &lines1, true, LONGLINES_WRAP); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:141:86: note: in expansion of macro ‘EXTRADATACONST’ 141 | UI_DrawString(fontID, ALIGN_UL, x, y, x, column2, LINEHEIGHT, message->text, EXTRADATACONST(node).scrollY.viewSize, 0, &lines2, true, LONGLINES_WRAP); | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp: In member function ‘virtual void uiMessageListNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:212:16: note: in expansion of macro ‘EXTRADATA’ 212 | posY = EXTRADATA(node).scrollY.viewPos; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:226:36: note: in expansion of macro ‘EXTRADATA’ 226 | if (screenLines >= EXTRADATA(node).scrollY.viewSize) | ^~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp: In member function ‘virtual void uiMessageListNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:267:17: note: in expansion of macro ‘EXTRADATA’ 267 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollableExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:267:52: note: in expansion of macro ‘EXTRADATA’ 267 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_model.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_model.cpp.o src/client/ui/node/ui_node_model.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_model.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_model.cpp:30: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_model.cpp:31: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:86:55: note: in expansion of macro ‘EXTRADATA’ 86 | const char* ref = UI_GetReferenceString(node, EXTRADATA(node).model); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_InitModelInfoView(uiNode_t*, modelInfo_t*, uiModel_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:105:50: note: in expansion of macro ‘EXTRADATA’ 105 | nodeorigin[0] += node->box.size[0] / 2 + EXTRADATA(node).origin[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:106:50: note: in expansion of macro ‘EXTRADATA’ 106 | nodeorigin[1] += node->box.size[1] / 2 + EXTRADATA(node).origin[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:107:25: note: in expansion of macro ‘EXTRADATA’ 107 | nodeorigin[2] = EXTRADATA(node).origin[2]; | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:109:20: note: in expansion of macro ‘EXTRADATA’ 109 | VectorCopy(EXTRADATA(node).scale, mi->scale); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:109:20: note: in expansion of macro ‘EXTRADATA’ 109 | VectorCopy(EXTRADATA(node).scale, mi->scale); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:109:20: note: in expansion of macro ‘EXTRADATA’ 109 | VectorCopy(EXTRADATA(node).scale, mi->scale); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:49: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:110:20: note: in expansion of macro ‘EXTRADATA’ 110 | VectorCopy(EXTRADATA(node).angles, mi->angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:68: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:110:20: note: in expansion of macro ‘EXTRADATA’ 110 | VectorCopy(EXTRADATA(node).angles, mi->angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:51:87: note: in definition of macro ‘VectorCopy’ 51 | #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:110:20: note: in expansion of macro ‘EXTRADATA’ 110 | VectorCopy(EXTRADATA(node).angles, mi->angles); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_DrawModelNodeWithUIModel(uiNode_t*, const char*, modelInfo_t*, uiModel_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:182:29: note: in expansion of macro ‘EXTRADATA’ 182 | if (EXTRADATA(node).autoscale) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:205:29: note: in expansion of macro ‘EXTRADATA’ 205 | if (EXTRADATA(node).autoscale) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:219:29: note: in expansion of macro ‘EXTRADATA’ 219 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:219:59: note: in expansion of macro ‘EXTRADATA’ 219 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:220:67: note: in expansion of macro ‘EXTRADATA’ 220 | ref = UI_GetReferenceString(node, EXTRADATA(node).animation); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_DrawModelNode(uiNode_t*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:278:13: note: in expansion of macro ‘EXTRADATA’ 278 | if (EXTRADATA(node).clipOverflow) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:281:50: note: in expansion of macro ‘EXTRADATA’ 281 | nodeorigin[0] += node->box.size[0] / 2 + EXTRADATA(node).origin[0]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:282:50: note: in expansion of macro ‘EXTRADATA’ 282 | nodeorigin[1] += node->box.size[1] / 2 + EXTRADATA(node).origin[1]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:283:25: note: in expansion of macro ‘EXTRADATA’ 283 | nodeorigin[2] = EXTRADATA(node).origin[2]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:18: note: in expansion of macro ‘EXTRADATA’ 285 | VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:57: note: in expansion of macro ‘EXTRADATA’ 285 | VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:80: note: in expansion of macro ‘EXTRADATA’ 285 | VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:287:21: note: in expansion of macro ‘EXTRADATA’ 287 | mi.angles = EXTRADATA(node).angles; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:288:20: note: in expansion of macro ‘EXTRADATA’ 288 | mi.scale = EXTRADATA(node).scale; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:296:21: note: in expansion of macro ‘EXTRADATA’ 296 | if (EXTRADATA(node).clipOverflow) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:302:13: note: in expansion of macro ‘EXTRADATA’ 302 | if (EXTRADATA(node).tag) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:303:21: note: in expansion of macro ‘EXTRADATA’ 303 | if (EXTRADATA(node).clipOverflow) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:309:13: note: in expansion of macro ‘EXTRADATA’ 309 | if (EXTRADATA(node).autoscale) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:322:13: note: in expansion of macro ‘EXTRADATA’ 322 | if (EXTRADATA(node).skin && *EXTRADATA(node).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:322:38: note: in expansion of macro ‘EXTRADATA’ 322 | if (EXTRADATA(node).skin && *EXTRADATA(node).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:323:60: note: in expansion of macro ‘EXTRADATA’ 323 | mi.skin = atoi(UI_GetReferenceString(node, EXTRADATA(node).skin)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:328:13: note: in expansion of macro ‘EXTRADATA’ 328 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:328:43: note: in expansion of macro ‘EXTRADATA’ 328 | if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:330:51: note: in expansion of macro ‘EXTRADATA’ 330 | ref = UI_GetReferenceString(node, EXTRADATA(node).animation); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:333:29: note: in expansion of macro ‘EXTRADATA’ 333 | if (strncmp(EXTRADATA(node).oldRefValue, source, MAX_OLDREFVALUE)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:334:36: note: in expansion of macro ‘EXTRADATA’ 334 | Q_strncpyz(EXTRADATA(node).oldRefValue, source, MAX_OLDREFVALUE); | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/common.h:34: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:336:34: note: in expansion of macro ‘EXTRADATA’ 336 | Mem_Free(EXTRADATA(node).animationState); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:337:25: note: in expansion of macro ‘EXTRADATA’ 337 | EXTRADATA(node).animationState = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:339:35: note: in expansion of macro ‘EXTRADATA’ 339 | animState_t* as = EXTRADATA(node).animationState; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:345:25: note: in expansion of macro ‘EXTRADATA’ 345 | EXTRADATA(node).animationState = as; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:381:37: note: in expansion of macro ‘EXTRADATA’ 381 | mi.angles = EXTRADATA(child).angles; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:382:36: note: in expansion of macro ‘EXTRADATA’ 382 | mi.scale = EXTRADATA(child).scale; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:384:37: note: in expansion of macro ‘EXTRADATA’ 384 | mi.origin = EXTRADATA(child).origin; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:388:31: note: in expansion of macro ‘EXTRADATA’ 388 | tag = EXTRADATA(child).tag; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:391:65: note: in expansion of macro ‘EXTRADATA’ 391 | childRef = UI_GetReferenceString(child, EXTRADATA(child).model); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:400:29: note: in expansion of macro ‘EXTRADATA’ 400 | if (EXTRADATA(child).skin && *EXTRADATA(child).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:400:55: note: in expansion of macro ‘EXTRADATA’ 400 | if (EXTRADATA(child).skin && *EXTRADATA(child).skin) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:401:77: note: in expansion of macro ‘EXTRADATA’ 401 | mi.skin = atoi(UI_GetReferenceString(child, EXTRADATA(child).skin)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:409:13: note: in expansion of macro ‘EXTRADATA’ 409 | if (EXTRADATA(node).clipOverflow) | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:418:31: note: in expansion of macro ‘EXTRADATA’ 418 | float* rotateAngles = EXTRADATA(node).angles; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:440:14: note: in expansion of macro ‘EXTRADATA’ 440 | if (!EXTRADATA(node).rotateWithMouse) | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:35: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:462:19: note: in expansion of macro ‘EXTRADATA’ 462 | VectorSet(EXTRADATA(node).scale, 1, 1, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:47: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:462:19: note: in expansion of macro ‘EXTRADATA’ 462 | VectorSet(EXTRADATA(node).scale, 1, 1, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:59:59: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:462:19: note: in expansion of macro ‘EXTRADATA’ 462 | VectorSet(EXTRADATA(node).scale, 1, 1, 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:463:9: note: in expansion of macro ‘EXTRADATA’ 463 | EXTRADATA(node).clipOverflow = true; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::clone(const uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:473:17: note: in expansion of macro ‘EXTRADATA’ 473 | EXTRADATA(clone).oldRefValue = UI_AllocStaticString("", MAX_OLDREFVALUE); | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::newNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:478:9: note: in expansion of macro ‘EXTRADATA’ 478 | EXTRADATA(node).oldRefValue = Mem_PoolAllocTypeN(char, MAX_OLDREFVALUE, ui_dynPool); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:479:9: note: in expansion of macro ‘EXTRADATA’ 479 | EXTRADATA(node).oldRefValue[0] = '\0'; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::deleteNode(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:34:100: note: in definition of macro ‘Mem_Free’ 34 | #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) | ^~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:484:18: note: in expansion of macro ‘EXTRADATA’ 484 | Mem_Free(EXTRADATA(node).oldRefValue); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:485:9: note: in expansion of macro ‘EXTRADATA’ 485 | EXTRADATA(node).oldRefValue = nullptr; | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In member function ‘virtual void uiModelNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:491:13: note: in expansion of macro ‘EXTRADATA’ 491 | if (EXTRADATA(node).tag != nullptr && node->behaviour != node->parent->behaviour) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:493:17: note: in expansion of macro ‘EXTRADATA’ 493 | EXTRADATA(node).tag = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:496:13: note: in expansion of macro ‘EXTRADATA’ 496 | if (EXTRADATA(node).oldRefValue == nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:497:17: note: in expansion of macro ‘EXTRADATA’ 497 | EXTRADATA(node).oldRefValue = UI_AllocStaticString("", MAX_OLDREFVALUE); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: in expansion of macro ‘UI_EXTRADATA’ 47 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:500:13: note: in expansion of macro ‘EXTRADATA’ 500 | if (EXTRADATA(node).tag == nullptr && (node->box.size[0] == 0 || node->box.size[1] == 0)) { | ^~~~~~~~~ src/client/ui/node/ui_node_model.cpp: In function ‘void UI_RegisterModelNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:514:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 514 | UI_RegisterExtradataNodeProperty(behaviour, "anim", V_CVAR_OR_STRING, modelExtraData_t, animation); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:516:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 516 | UI_RegisterExtradataNodeProperty(behaviour, "angles", V_VECTOR, modelExtraData_t, angles); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:518:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 518 | UI_RegisterExtradataNodeProperty(behaviour, "origin", V_VECTOR, modelExtraData_t, origin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:520:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 520 | UI_RegisterExtradataNodeProperty(behaviour, "omega", V_VECTOR, modelExtraData_t, omega); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:522:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 522 | UI_RegisterExtradataNodeProperty(behaviour, "scale", V_VECTOR, modelExtraData_t, scale); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:524:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 524 | UI_RegisterExtradataNodeProperty(behaviour, "tag", V_CVAR_OR_STRING, modelExtraData_t, tag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:528:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 528 | UI_RegisterExtradataNodeProperty(behaviour, "autoscale", V_BOOL, modelExtraData_t, autoscale); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:530:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 530 | UI_RegisterExtradataNodeProperty(behaviour, "rotatewithmouse", V_BOOL, modelExtraData_t, rotateWithMouse); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:532:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 532 | UI_RegisterExtradataNodeProperty(behaviour, "clipoverflow", V_BOOL, modelExtraData_t, clipOverflow); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:534:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 534 | UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, modelExtraData_t, model); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘modelExtraData_t*’ {aka ‘modelExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:536:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 536 | UI_RegisterExtradataNodeProperty(behaviour, "skin", V_CVAR_OR_STRING, modelExtraData_t, skin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_option.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_option.cpp.o src/client/ui/node/ui_node_option.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_option.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_option.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_option.cpp:31: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_option.cpp: In function ‘int UI_OptionUpdateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:60:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 60 | if (OPTIONEXTRADATA(option).collapsed) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:61:25: note: in expansion of macro ‘OPTIONEXTRADATA’ 61 | OPTIONEXTRADATA(option).childCount = 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:68:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 68 | OPTIONEXTRADATA(option).childCount = localCount; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp: In member function ‘virtual void uiOptionNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:83:29: note: in expansion of macro ‘EXTRADATA’ 83 | if (EXTRADATA(child).collapsed) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:84:46: note: in expansion of macro ‘EXTRADATA’ 84 | count += 1 + EXTRADATA(child).childCount; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:90:9: note: in expansion of macro ‘EXTRADATA’ 90 | EXTRADATA(node).childCount = count; | ^~~~~~~~~ src/client/ui/node/ui_node_option.cpp: In function ‘void UI_InitOption(uiNode_t*, const char*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:113:20: note: in expansion of macro ‘OPTIONEXTRADATA’ 113 | Q_strncpyz(OPTIONEXTRADATA(option).label, label, sizeof(OPTIONEXTRADATA(option).label)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:113:65: note: in expansion of macro ‘OPTIONEXTRADATA’ 113 | Q_strncpyz(OPTIONEXTRADATA(option).label, label, sizeof(OPTIONEXTRADATA(option).label)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:114:20: note: in expansion of macro ‘OPTIONEXTRADATA’ 114 | Q_strncpyz(OPTIONEXTRADATA(option).value, value, sizeof(OPTIONEXTRADATA(option).value)); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:114:65: note: in expansion of macro ‘OPTIONEXTRADATA’ 114 | Q_strncpyz(OPTIONEXTRADATA(option).value, value, sizeof(OPTIONEXTRADATA(option).value)); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp: In function ‘void UI_RegisterOptionNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:140:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 140 | UI_RegisterExtradataNodeProperty(behaviour, "label", V_STRING, EXTRADATA_TYPE, label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:145:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 145 | UI_RegisterExtradataNodeProperty(behaviour, "value", V_STRING, EXTRADATA_TYPE, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:150:29: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 150 | propertyCollapsed = UI_RegisterExtradataNodeProperty(behaviour, "collapsed", V_BOOL, EXTRADATA_TYPE, collapsed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:154:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 154 | UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:155:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 155 | UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_optionlist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_optionlist.cpp.o src/client/ui/node/ui_node_optionlist.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_optionlist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optionlist.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_optionlist.cpp:32: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_optionlist.cpp: In function ‘void UI_OptionListNodeUpdateScroll(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:64:23: note: in expansion of macro ‘EXTRADATA’ 64 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:71:19: note: in expansion of macro ‘EXTRADATA’ 71 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:71:61: note: in expansion of macro ‘EXTRADATA’ 71 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:72:24: note: in expansion of macro ‘EXTRADATA’ 72 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:73:46: note: in expansion of macro ‘EXTRADATA’ 73 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:94:13: note: in expansion of macro ‘EXTRADATA’ 94 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:95:43: note: in expansion of macro ‘EXTRADATA’ 95 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:100:23: note: in expansion of macro ‘EXTRADATA’ 100 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:107:34: note: in expansion of macro ‘EXTRADATA’ 107 | while (option && count < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:122:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 122 | if (OPTIONEXTRADATA(option).hovered) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:126:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 126 | if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:136:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 136 | if (OPTIONEXTRADATA(option).icon) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 141 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:78: note: in expansion of macro ‘OPTIONEXTRADATA’ 141 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:136: note: in expansion of macro ‘OPTIONEXTRADATA’ 141 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:142:33: note: in expansion of macro ‘OPTIONEXTRADATA’ 142 | decX += OPTIONEXTRADATA(option).icon->size[0] + lineHeight / 4; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:146:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 146 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:164:13: note: in expansion of macro ‘EXTRADATA’ 164 | if (EXTRADATA(node).count != count) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:165:17: note: in expansion of macro ‘EXTRADATA’ 165 | EXTRADATA(node).count = count; | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In function ‘uiNode_t* UI_OptionListNodeGetOptionAtPosition(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:182:23: note: in expansion of macro ‘EXTRADATA’ 182 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:189:34: note: in expansion of macro ‘EXTRADATA’ 189 | while (option && count < EXTRADATA(node).scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:220:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 220 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual bool uiOptionListNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:232:19: note: in expansion of macro ‘EXTRADATA’ 232 | updated = EXTRADATA(node).scrollY.moveDelta(down ? 1 : -1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:233:13: note: in expansion of macro ‘EXTRADATA’ 233 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:234:46: note: in expansion of macro ‘EXTRADATA’ 234 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:258:9: note: in expansion of macro ‘EXTRADATA’ 258 | EXTRADATA(node).versionId = -1; | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:273:17: note: in expansion of macro ‘EXTRADATA’ 273 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:273:52: note: in expansion of macro ‘EXTRADATA’ 273 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual void uiOptionListNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:293:27: note: in expansion of macro ‘EXTRADATA’ 293 | updated = EXTRADATA(node).scrollY.moveDelta(deltaY); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:294:21: note: in expansion of macro ‘EXTRADATA’ 294 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:295:54: note: in expansion of macro ‘EXTRADATA’ 295 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In member function ‘virtual int uiOptionListNode::getCellHeight(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:310:26: note: in expansion of macro ‘EXTRADATA’ 310 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp: In function ‘void UI_RegisterOptionListNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:324:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 324 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_optiontree.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_optiontree.cpp.o src/client/ui/node/ui_node_optiontree.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_optiontree.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optiontree.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_optiontree.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_OptionTreeNodeUpdateScroll(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:69:22: note: in expansion of macro ‘EXTRADATA’ 69 | fontHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:74:19: note: in expansion of macro ‘EXTRADATA’ 74 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:74:61: note: in expansion of macro ‘EXTRADATA’ 74 | updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:75:24: note: in expansion of macro ‘EXTRADATA’ 75 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:76:46: note: in expansion of macro ‘EXTRADATA’ 76 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_OptionTreeNodeUpdateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:86:17: note: in expansion of macro ‘EXTRADATA’ 86 | EXTRADATA(node).count = UI_OptionUpdateCache(option); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘uiNode_t* UI_OptionTreeNodeGetFirstOption(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:100:49: note: in expansion of macro ‘EXTRADATA’ 100 | const int v = UI_GetDataVersion(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:101:49: note: in expansion of macro ‘EXTRADATA’ 101 | uiNode_t* option = UI_GetOption(EXTRADATA(node).dataId); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:102:26: note: in expansion of macro ‘EXTRADATA’ 102 | if (v != EXTRADATA(node).versionId) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:103:25: note: in expansion of macro ‘EXTRADATA’ 103 | EXTRADATA(node).versionId = v; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:135:13: note: in expansion of macro ‘EXTRADATA’ 135 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:136:43: note: in expansion of macro ‘EXTRADATA’ 136 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:140:22: note: in expansion of macro ‘EXTRADATA’ 140 | fontHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:152:47: note: in expansion of macro ‘EXTRADATA’ 152 | option = UI_InitOptionIteratorAtIndex(EXTRADATA(node).scrollY.viewPos, option, &iterator); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:165:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 165 | if (OPTIONEXTRADATA(option).hovered) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:169:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 169 | if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:184:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 184 | uiSprite_t* icon = OPTIONEXTRADATA(option).collapsed ? systemExpand : systemCollapse; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:185:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 185 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, icon, SPRITE_STATUS_NORMAL, decX, currentY, icon->size[0], fontHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:190:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 190 | if (OPTIONEXTRADATA(option).icon) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:194:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 194 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:194:78: note: in expansion of macro ‘OPTIONEXTRADATA’ 194 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:195:41: note: in expansion of macro ‘OPTIONEXTRADATA’ 195 | OPTIONEXTRADATA(option).icon->size[0], fontHeight); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:196:33: note: in expansion of macro ‘OPTIONEXTRADATA’ 196 | decX += OPTIONEXTRADATA(option).icon->size[0] + fontHeight / 4; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:199:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 199 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘uiNode_t* UI_OptionTreeNodeGetOptionAtPosition(uiNode_t*, int, int, int*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:224:22: note: in expansion of macro ‘EXTRADATA’ 224 | fontHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:229:17: note: in expansion of macro ‘EXTRADATA’ 229 | count = EXTRADATA(node).scrollY.viewPos + (y - node->padding) / fontHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:255:25: note: in expansion of macro ‘OPTIONEXTRADATA’ 255 | OPTIONEXTRADATA(option).collapsed = !OPTIONEXTRADATA(option).collapsed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:255:62: note: in expansion of macro ‘OPTIONEXTRADATA’ 255 | OPTIONEXTRADATA(option).collapsed = !OPTIONEXTRADATA(option).collapsed; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:263:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 263 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual bool uiOptionTreeNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:275:19: note: in expansion of macro ‘EXTRADATA’ 275 | updated = EXTRADATA(node).scrollY.move(down ? 1 : -1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:276:13: note: in expansion of macro ‘EXTRADATA’ 276 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:277:46: note: in expansion of macro ‘EXTRADATA’ 277 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:301:9: note: in expansion of macro ‘EXTRADATA’ 301 | EXTRADATA(node).versionId = -1; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_OptionTreeSetSelectedValue(uiNode_t*, const uiCallContext_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:333:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 333 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:341:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 341 | OPTIONEXTRADATA(iterator.depthCache[i]).collapsed = false; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:353:19: note: in expansion of macro ‘EXTRADATA’ 353 | updated = EXTRADATA(node).scrollY.move(pos); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:354:24: note: in expansion of macro ‘EXTRADATA’ 354 | if (updated && EXTRADATA(node).onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:355:46: note: in expansion of macro ‘EXTRADATA’ 355 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:371:17: note: in expansion of macro ‘EXTRADATA’ 371 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:371:52: note: in expansion of macro ‘EXTRADATA’ 371 | EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual void uiOptionTreeNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:391:27: note: in expansion of macro ‘EXTRADATA’ 391 | updated = EXTRADATA(node).scrollY.moveDelta(deltaY); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:392:21: note: in expansion of macro ‘EXTRADATA’ 392 | if (EXTRADATA(node).onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:393:54: note: in expansion of macro ‘EXTRADATA’ 393 | UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In member function ‘virtual int uiOptionTreeNode::getCellHeight(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: in expansion of macro ‘UI_EXTRADATA’ 45 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:408:26: note: in expansion of macro ‘EXTRADATA’ 408 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp: In function ‘void UI_RegisterOptionTreeNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:424:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 424 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_panel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_panel.cpp.o src/client/ui/node/ui_node_panel.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_panel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_panel.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_panel.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:56:13: note: in expansion of macro ‘EXTRADATA’ 56 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:57:43: note: in expansion of macro ‘EXTRADATA’ 57 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_TopDownFlowLayout(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:93:27: note: in expansion of macro ‘EXTRADATA’ 93 | updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], node->box.size[0]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:94:27: note: in expansion of macro ‘EXTRADATA’ 94 | updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], positionY + node->padding) || updated; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:95:32: note: in expansion of macro ‘EXTRADATA’ 95 | if (updated && EXTRADATA(node).super.onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:96:54: note: in expansion of macro ‘EXTRADATA’ 96 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_ClientLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:343:19: note: in expansion of macro ‘EXTRADATA’ 343 | updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], width); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:344:19: note: in expansion of macro ‘EXTRADATA’ 344 | updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], height) || updated; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:345:24: note: in expansion of macro ‘EXTRADATA’ 345 | if (updated && EXTRADATA(node).super.onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:346:46: note: in expansion of macro ‘EXTRADATA’ 346 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_ColumnLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:363:13: note: in expansion of macro ‘EXTRADATA’ 363 | if (EXTRADATA(node).layoutColumns <= 0) { | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/common.h:34, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:40:85: note: in definition of macro ‘Mem_PoolAlloc’ 40 | #define Mem_PoolAlloc(size,pool,tagNum) _Mem_Alloc((size),true,(pool),(tagNum),__FILE__,__LINE__) | ^~~~ src/client/ui/node/../../../common/mem.h:37:100: note: in expansion of macro ‘Mem_Alloc’ 37 | #define Mem_AllocTypeN(type, n) static_cast(Mem_Alloc(sizeof(type) * (n))) | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:368:26: note: in expansion of macro ‘Mem_AllocTypeN’ 368 | int* columnPos = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:368:46: note: in expansion of macro ‘EXTRADATA’ 368 | int* columnPos = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:40:85: note: in definition of macro ‘Mem_PoolAlloc’ 40 | #define Mem_PoolAlloc(size,pool,tagNum) _Mem_Alloc((size),true,(pool),(tagNum),__FILE__,__LINE__) | ^~~~ src/client/ui/node/../../../common/mem.h:37:100: note: in expansion of macro ‘Mem_Alloc’ 37 | #define Mem_AllocTypeN(type, n) static_cast(Mem_Alloc(sizeof(type) * (n))) | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:369:27: note: in expansion of macro ‘Mem_AllocTypeN’ 369 | int* columnSize = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:369:47: note: in expansion of macro ‘EXTRADATA’ 369 | int* columnSize = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:373:25: note: in expansion of macro ‘EXTRADATA’ 373 | for (i = 0; i < EXTRADATA(node).layoutColumns; i++) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:385:25: note: in expansion of macro ‘EXTRADATA’ 385 | for (i = 1; i < EXTRADATA(node).layoutColumns; i++) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:386:71: note: in expansion of macro ‘EXTRADATA’ 386 | columnPos[i] = columnPos[i - 1] + columnSize[i - 1] + EXTRADATA(node).layoutMargin; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:393:40: note: in expansion of macro ‘EXTRADATA’ 393 | const int column = i % EXTRADATA(node).layoutColumns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:398:50: note: in expansion of macro ‘EXTRADATA’ 398 | y += rowHeight + EXTRADATA(node).layoutMargin; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:410:36: note: in expansion of macro ‘EXTRADATA’ 410 | const int column = EXTRADATA(node).layoutColumns; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:415:27: note: in expansion of macro ‘EXTRADATA’ 415 | updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], width); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:416:27: note: in expansion of macro ‘EXTRADATA’ 416 | updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], height) || updated; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:417:32: note: in expansion of macro ‘EXTRADATA’ 417 | if (updated && EXTRADATA(node).super.onViewChange) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:418:54: note: in expansion of macro ‘EXTRADATA’ 418 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:430:17: note: in expansion of macro ‘EXTRADATA’ 430 | switch (EXTRADATA(node).layout) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:434:44: note: in expansion of macro ‘EXTRADATA’ 434 | UI_TopDownFlowLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:437:46: note: in expansion of macro ‘EXTRADATA’ 437 | UI_LeftRightFlowLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:440:39: note: in expansion of macro ‘EXTRADATA’ 440 | UI_BorderLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:443:37: note: in expansion of macro ‘EXTRADATA’ 443 | UI_PackLayout(node, EXTRADATA(node).layoutMargin); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:455:78: note: in expansion of macro ‘EXTRADATA’ 455 | Com_Printf("UI_PanelNodeDoLayout: layout '%d' unsupported.", EXTRADATA(node).layout); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:468:9: note: in expansion of macro ‘EXTRADATA’ 468 | EXTRADATA(node).wheelScrollable = true; | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual bool uiPanelNode::onMouseLongPress(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:477:37: note: in expansion of macro ‘EXTRADATA’ 477 | bool hasSomethingToScroll = EXTRADATA(node).super.scrollX.fullSize > EXTRADATA(node).super.scrollX.viewSize | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:477:78: note: in expansion of macro ‘EXTRADATA’ 477 | bool hasSomethingToScroll = EXTRADATA(node).super.scrollX.fullSize > EXTRADATA(node).super.scrollX.viewSize | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:478:28: note: in expansion of macro ‘EXTRADATA’ 478 | || EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:478:69: note: in expansion of macro ‘EXTRADATA’ 478 | || EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:514:13: note: in expansion of macro ‘EXTRADATA’ 514 | if (EXTRADATA(node).layout != LAYOUT_NONE) | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual void uiPanelNode::getClientPosition(const uiNode_t*, vec_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:39:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 39 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:520:24: note: in expansion of macro ‘EXTRADATACONST’ 520 | position[0] = -EXTRADATACONST(node).super.scrollX.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:39:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 39 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:521:24: note: in expansion of macro ‘EXTRADATACONST’ 521 | position[1] = -EXTRADATACONST(node).super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In member function ‘virtual bool uiPanelNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:549:14: note: in expansion of macro ‘EXTRADATA’ 549 | if (!EXTRADATA(node).wheelScrollable || deltaY == 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:552:19: note: in expansion of macro ‘EXTRADATA’ 552 | updated = EXTRADATA(node).super.scrollX.moveDelta(deltaX * 50); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:553:20: note: in expansion of macro ‘EXTRADATA’ 553 | updated |= EXTRADATA(node).super.scrollY.moveDelta(deltaY * 50); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:554:13: note: in expansion of macro ‘EXTRADATA’ 554 | if (EXTRADATA(node).super.onViewChange && updated) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: in expansion of macro ‘UI_EXTRADATA’ 38 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:555:46: note: in expansion of macro ‘EXTRADATA’ 555 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_panel.cpp: In function ‘void UI_RegisterPanelNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:594:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 594 | UI_RegisterExtradataNodeProperty(behaviour, "layout", V_INT, panelExtraData_t, layout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:598:32: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 598 | propertyLayoutMargin = UI_RegisterExtradataNodeProperty(behaviour, "layoutMargin", V_INT, panelExtraData_t, layoutMargin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:602:33: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 602 | propertyLayoutColumns = UI_RegisterExtradataNodeProperty(behaviour, "layoutColumns", V_INT, panelExtraData_t, layoutColumns); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:606:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 606 | UI_RegisterExtradataNodeProperty(behaviour, "wheelscrollable", V_BOOL, panelExtraData_t, wheelScrollable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘panelExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:609:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 609 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_radar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_radar.cpp.o src/client/ui/node/ui_node_radar.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_radar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_radar.h:27, from src/client/ui/node/ui_node_radar.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_radar.cpp:27: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_radiobutton.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_radiobutton.cpp.o src/client/ui/node/ui_node_radiobutton.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_radiobutton.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_radiobutton.cpp:37: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_radiobutton.cpp:43: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_radiobutton.cpp: In function ‘bool UI_RadioButtonNodeIsSelected(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:58:13: note: in expansion of macro ‘EXTRADATA’ 58 | if (EXTRADATA(node).string == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:59:66: note: in expansion of macro ‘EXTRADATA’ 59 | const float current = UI_GetReferenceFloat(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:60:34: note: in expansion of macro ‘EXTRADATA’ 60 | return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:60:79: note: in expansion of macro ‘EXTRADATA’ 60 | return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:62:67: note: in expansion of macro ‘EXTRADATA’ 62 | const char* current = UI_GetReferenceString(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:34: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:63:41: note: in expansion of macro ‘EXTRADATA’ 63 | return Q_streq(current, EXTRADATA(node).string); | ^~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp: In member function ‘virtual void uiRadioButtonNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:103:13: note: in expansion of macro ‘EXTRADATA’ 103 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:104:43: note: in expansion of macro ‘EXTRADATA’ 104 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:107:13: note: in expansion of macro ‘EXTRADATA’ 107 | if (EXTRADATA(node).icon) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:108:36: note: in expansion of macro ‘EXTRADATA’ 108 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:108:62: note: in expansion of macro ‘EXTRADATA’ 108 | UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp: In member function ‘virtual void uiRadioButtonNode::onActivate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:118:14: note: in expansion of macro ‘EXTRADATA’ 118 | if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:118:48: note: in expansion of macro ‘EXTRADATA’ 118 | if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:125:63: note: in expansion of macro ‘EXTRADATA’ 125 | char const* const cvarName = Q_strstart((char const*)(EXTRADATA(node).cvar), "*cvar:"); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:129:36: note: in expansion of macro ‘EXTRADATA’ 129 | UI_GetReferenceFloat(node, EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:134:13: note: in expansion of macro ‘EXTRADATA’ 134 | if (EXTRADATA(node).string == nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:135:41: note: in expansion of macro ‘EXTRADATA’ 135 | Cvar_SetValue(cvarName, EXTRADATA(node).value); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: in expansion of macro ‘UI_EXTRADATA’ 48 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:137:42: note: in expansion of macro ‘EXTRADATA’ 137 | Cvar_Set(cvarName, "%s", EXTRADATA(node).string); | ^~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp: In function ‘void UI_RegisterRadioButtonNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:161:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 161 | UI_RegisterExtradataNodeProperty(behaviour, "value", V_FLOAT, EXTRADATA_TYPE, value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:163:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 163 | UI_RegisterExtradataNodeProperty(behaviour, "stringValue", V_CVAR_OR_STRING, EXTRADATA_TYPE, string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:166:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 166 | UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:168:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 168 | UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:169:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 169 | UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘radioButtonExtraData_t*’ {aka ‘radioButtonExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:171:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 171 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_rows.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_rows.cpp.o src/client/ui/node/ui_node_rows.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_rows.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_rows.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_rows.cpp:27: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_rows.cpp: In member function ‘virtual void uiRowsNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:41:17: note: in expansion of macro ‘EXTRADATA’ 41 | int i = EXTRADATA(node).current; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:47:45: note: in expansion of macro ‘EXTRADATA’ 47 | const int height = std::min(EXTRADATA(node).lineHeight, (int)node->box.size[1] - current); | ^~~~~~~~~ src/client/ui/node/ui_node_rows.cpp: In member function ‘virtual void uiRowsNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:62:13: note: in expansion of macro ‘EXTRADATA’ 62 | if (EXTRADATA(node).lineHeight == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:63:17: note: in expansion of macro ‘EXTRADATA’ 63 | EXTRADATA(node).lineHeight = 10; | ^~~~~~~~~ src/client/ui/node/ui_node_rows.cpp: In function ‘void UI_RegisterRowsNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:78:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 78 | UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, rowsExtraData_t, lineHeight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘rowsExtraData_t*’ {aka ‘rowsExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:80:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 80 | UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, rowsExtraData_t, current); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_selectbox.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_selectbox.cpp.o src/client/ui/node/ui_node_selectbox.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_selectbox.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_selectbox.cpp:46: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_selectbox.cpp:47: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:82:81: note: in expansion of macro ‘EXTRADATA’ 82 | if (x < 0 || y < 0 || x > node->box.size[0] || y > node->box.size[1] * (EXTRADATA(node).count + 1)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:90:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 90 | OPTIONEXTRADATA(option).hovered = (posy <= y && y < posy + node->box.size[1]); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:133:30: note: in expansion of macro ‘OPTIONEXTRADATA’ 133 | if (!Q_streq(OPTIONEXTRADATA(option).value, ref)) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:139:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 139 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::drawOverWindow(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:184:119: note: in expansion of macro ‘EXTRADATA’ 184 | UI_DrawNormImage(false, nodepos[0], nodepos[1] + node->box.size[1], SELECTBOX_SIDE_WIDTH, node->box.size[1] * EXTRADATA(node).count, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:188:183: note: in expansion of macro ‘EXTRADATA’ 188 | UI_DrawNormImage(false, nodepos[0] + SELECTBOX_SIDE_WIDTH, nodepos[1] + node->box.size[1], node->box.size[0] -SELECTBOX_SIDE_WIDTH-SELECTBOX_RIGHT_WIDTH, node->box.size[1] * EXTRADATA(node).count, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:192:183: note: in expansion of macro ‘EXTRADATA’ 192 | UI_DrawNormImage(false, nodepos[0] + node->box.size[0] -SELECTBOX_SIDE_WIDTH-SELECTBOX_RIGHT_WIDTH, nodepos[1] + node->box.size[1], SELECTBOX_SIDE_WIDTH, node->box.size[1] * EXTRADATA(node).count, | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:201:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 201 | if (OPTIONEXTRADATA(option).hovered) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:205:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 205 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:215:22: note: in expansion of macro ‘EXTRADATA’ 215 | if (check != EXTRADATA(node).count) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:218:17: note: in expansion of macro ‘EXTRADATA’ 218 | EXTRADATA(node).versionId = 0; | ^~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp: In member function ‘virtual void uiSelectBoxNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:255:111: note: in expansion of macro ‘EXTRADATA’ 255 | if (x < pos[0] || y < pos[1] || x >= pos[0] + node->box.size[0] || y >= pos[1] + node->box.size[1] * (EXTRADATA(node).count + 1)) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: in expansion of macro ‘UI_EXTRADATA’ 60 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:267:55: note: in expansion of macro ‘EXTRADATA’ 267 | if (clickedAtOption < 0 || clickedAtOption >= EXTRADATA(node).count) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:285:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 285 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_sequence.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_sequence.cpp.o src/client/ui/node/ui_node_sequence.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_sequence.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_sequence.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_sequence.cpp:30: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:49:13: note: in expansion of macro ‘EXTRADATA’ 49 | if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:49:51: note: in expansion of macro ‘EXTRADATA’ 49 | if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:60:29: note: in expansion of macro ‘EXTRADATA’ 60 | SEQ_SetView(EXTRADATA(node).context, pos, node->box.size); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:61:40: note: in expansion of macro ‘EXTRADATA’ 61 | finished = !SEQ_Render(EXTRADATA(node).context); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:66:33: note: in expansion of macro ‘EXTRADATA’ 66 | if (finished && EXTRADATA(node).onEnd) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:67:54: note: in expansion of macro ‘EXTRADATA’ 67 | UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:68:25: note: in expansion of macro ‘EXTRADATA’ 68 | EXTRADATA(node).playing = true; | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:75:13: note: in expansion of macro ‘EXTRADATA’ 75 | if (EXTRADATA(node).context == nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:76:17: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).context = SEQ_AllocContext(); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:77:13: note: in expansion of macro ‘EXTRADATA’ 77 | if (EXTRADATA(node).source != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:78:33: note: in expansion of macro ‘EXTRADATA’ 78 | SEQ_InitContext(EXTRADATA(node).context, EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:78:58: note: in expansion of macro ‘EXTRADATA’ 78 | SEQ_InitContext(EXTRADATA(node).context, EXTRADATA(node).source); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:79:17: note: in expansion of macro ‘EXTRADATA’ 79 | EXTRADATA(node).playing = true; | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onWindowClosed(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:85:13: note: in expansion of macro ‘EXTRADATA’ 85 | if (EXTRADATA(node).context != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:86:33: note: in expansion of macro ‘EXTRADATA’ 86 | SEQ_FreeContext(EXTRADATA(node).context); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:87:17: note: in expansion of macro ‘EXTRADATA’ 87 | EXTRADATA(node).context = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:89:9: note: in expansion of macro ‘EXTRADATA’ 89 | EXTRADATA(node).playing = false; | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:94:13: note: in expansion of macro ‘EXTRADATA’ 94 | if (EXTRADATA(node).context != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:95:36: note: in expansion of macro ‘EXTRADATA’ 95 | SEQ_SendClickEvent(EXTRADATA(node).context); | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In member function ‘virtual void uiSequenceNode::onPropertyChanged(uiNode_t*, const value_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:102:21: note: in expansion of macro ‘EXTRADATA’ 102 | if (EXTRADATA(node).source != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:104:28: note: in expansion of macro ‘EXTRADATA’ 104 | } else if (EXTRADATA(node).context != nullptr) { | ^~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp: In function ‘void UI_RegisterSequenceNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:120:26: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 120 | propertySource = UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘sequenceExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:123:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 123 | UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_special.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_special.cpp.o src/client/ui/node/ui_node_special.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_special.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../cl_shared.h:28, from src/client/ui/node/ui_node_special.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../../common/common.h:184: src/client/ui/node/../../../common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = uiAction_s*; value_t = value_s]’: src/client/ui/node/ui_node_special.cpp:43:49: required from here src/client/ui/node/../../../common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uiAction_s**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_spinner.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_spinner.cpp.o src/client/ui/node/ui_node_spinner.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_spinner.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_spinner.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_spinner.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In member function ‘bool uiSpinnerNode::isPositionIncrease(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:102:32: note: in expansion of macro ‘EXTRADATA’ 102 | switch ((spinnerMode_t)EXTRADATA(node).mode) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:108:21: note: in expansion of macro ‘EXTRADATA’ 108 | if (EXTRADATA(node).horizontal) | ^~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In member function ‘virtual void uiSpinnerNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:126:21: note: in expansion of macro ‘EXTRADATA’ 126 | if (EXTRADATA(node).inverted) | ^~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In member function ‘virtual void uiSpinnerNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:206:29: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).inverted) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:212:29: note: in expansion of macro ‘EXTRADATA’ 212 | if (EXTRADATA(node).inverted) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:219:13: note: in expansion of macro ‘EXTRADATA’ 219 | if (EXTRADATA(node).background) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:220:43: note: in expansion of macro ‘EXTRADATA’ 220 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, status, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:221:14: note: in expansion of macro ‘EXTRADATA’ 221 | if (!EXTRADATA(node).horizontal) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:222:21: note: in expansion of macro ‘EXTRADATA’ 222 | if (EXTRADATA(node).topIcon) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:223:51: note: in expansion of macro ‘EXTRADATA’ 223 | UI_DrawSpriteInBox(false, EXTRADATA(node).topIcon, topStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:224:21: note: in expansion of macro ‘EXTRADATA’ 224 | if (EXTRADATA(node).bottomIcon) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:225:51: note: in expansion of macro ‘EXTRADATA’ 225 | UI_DrawSpriteInBox(false, EXTRADATA(node).bottomIcon, bottomStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:227:21: note: in expansion of macro ‘EXTRADATA’ 227 | if (EXTRADATA(node).topIcon) /* Top becomes right */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:228:51: note: in expansion of macro ‘EXTRADATA’ 228 | UI_DrawSpriteInBox(false, EXTRADATA(node).topIcon, topStatus, pos[0] + node->box.size[0] / 2, pos[1], node->box.size[0] / 2, node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:229:21: note: in expansion of macro ‘EXTRADATA’ 229 | if (EXTRADATA(node).bottomIcon) /* Bottom becomes left */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: in expansion of macro ‘UI_EXTRADATA’ 42 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:230:51: note: in expansion of macro ‘EXTRADATA’ 230 | UI_DrawSpriteInBox(false, EXTRADATA(node).bottomIcon, bottomStatus, pos[0], pos[1], node->box.size[0] / 2, node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp: In function ‘void UI_RegisterSpinnerNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:249:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 249 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:254:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 254 | UI_RegisterExtradataNodeProperty(behaviour, "topIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, topIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:259:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 259 | UI_RegisterExtradataNodeProperty(behaviour, "bottomIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, bottomIcon); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:267:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 267 | UI_RegisterExtradataNodeProperty(behaviour, "mode", V_INT, EXTRADATA_TYPE, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:272:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 272 | UI_RegisterExtradataNodeProperty(behaviour, "horizontal", V_BOOL, EXTRADATA_TYPE, horizontal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘spinnerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:277:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 277 | UI_RegisterExtradataNodeProperty(behaviour, "inverted", V_BOOL, EXTRADATA_TYPE, inverted); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_string.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_string.cpp.o src/client/ui/node/ui_node_string.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_string.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_string.cpp:47: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_string.cpp:52: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_string.cpp: In member function ‘virtual void uiStringNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:81:248: note: in expansion of macro ‘EXTRADATA’ 81 | UI_DrawStringInBox(font, (align_t)node->contentAlign, nodepos[0] + node->padding, nodepos[1] + node->padding, node->box.size[0] - node->padding - node->padding, node->box.size[1] - node->padding - node->padding, ref, (longlines_t) EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/ui_node_string.cpp: In member function ‘virtual void uiStringNode::drawTooltip(const uiNode_t*, int, int) const’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:58:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 58 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:104:52: note: in expansion of macro ‘EXTRADATACONST’ 104 | const longlines_t longLines = (longlines_t)EXTRADATACONST(node).longlines; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp: In member function ‘virtual void uiStringNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:120:9: note: in expansion of macro ‘EXTRADATA’ 120 | EXTRADATA(node).longlines = LONGLINES_PRETTYCHOP; | ^~~~~~~~~ src/client/ui/node/ui_node_string.cpp: In function ‘void UI_RegisterStringNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘stringExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:132:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 132 | UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, EXTRADATA_TYPE, longlines); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_tab.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_tab.cpp.o src/client/ui/node/ui_node_tab.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_tab.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_tab.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_tab.cpp:34: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_tab.cpp: In function ‘uiNode_t* UI_TabNodeTabAtPosition(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:45:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 45 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:78:58: note: in expansion of macro ‘EXTRADATACONST’ 78 | allowedWidth = node->box.size[0] - TILE_WIDTH * (EXTRADATACONST(node).count + 1); | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:98:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 98 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:101:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 101 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:101:53: note: in expansion of macro ‘OPTIONEXTRADATA’ 101 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:102:37: note: in expansion of macro ‘OPTIONEXTRADATA’ 102 | tabWidth += OPTIONEXTRADATA(option).icon->size[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:142:56: note: in expansion of macro ‘OPTIONEXTRADATA’ 142 | UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:206:58: note: in expansion of macro ‘EXTRADATA’ 206 | allowedWidth = node->box.size[0] - TILE_WIDTH * (EXTRADATA(node).count + 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:136:31: note: in definition of macro ‘Q_streq’ 136 | #define Q_streq(a, b) (strcmp(a, b) == 0) | ^ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:224:29: note: in expansion of macro ‘OPTIONEXTRADATA’ 224 | if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:236:50: note: in expansion of macro ‘OPTIONEXTRADATA’ 236 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:240:21: note: in expansion of macro ‘OPTIONEXTRADATA’ 240 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:240:53: note: in expansion of macro ‘OPTIONEXTRADATA’ 240 | if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:241:37: note: in expansion of macro ‘OPTIONEXTRADATA’ 241 | tabWidth += OPTIONEXTRADATA(option).icon->size[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:44: note: in expansion of macro ‘OPTIONEXTRADATA’ 261 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:78: note: in expansion of macro ‘OPTIONEXTRADATA’ 261 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:138: note: in expansion of macro ‘OPTIONEXTRADATA’ 261 | UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:262:36: note: in expansion of macro ‘OPTIONEXTRADATA’ 262 | textPos += OPTIONEXTRADATA(option).icon->size[0]; | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:266:17: note: in expansion of macro ‘OPTIONEXTRADATA’ 266 | OPTIONEXTRADATA(option).truncated = tabWidth < fontWidth || tabWidth == 0; | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::drawTooltip(const uiNode_t*, int, int) const’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:299:14: note: in expansion of macro ‘OPTIONEXTRADATA’ 299 | if (!OPTIONEXTRADATA(option).truncated) | ^~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:302:42: note: in expansion of macro ‘OPTIONEXTRADATA’ 302 | const char* label = CL_Translate(OPTIONEXTRADATA(option).label); | ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp: In member function ‘virtual void uiTabNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:313:15: note: in expansion of macro ‘EXTRADATA’ 313 | if (!(EXTRADATA(node).cvar)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:317:49: note: in expansion of macro ‘EXTRADATA’ 317 | char const* const cvarName = Q_strstart(EXTRADATA(node).cvar, "*cvar:"); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:320:126: note: in expansion of macro ‘EXTRADATA’ 320 | Com_Printf("UI_TabNodeInit: node '%s' doesn't have a valid cvar assigned (\"%s\" read)\n", UI_GetPath(node), EXTRADATA(node).cvar); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractOptionExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: in expansion of macro ‘UI_EXTRADATA’ 44 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:321:17: note: in expansion of macro ‘EXTRADATA’ 321 | EXTRADATA(node).cvar = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:330:41: note: in expansion of macro ‘OPTIONEXTRADATA’ 330 | Cvar_ForceSet(cvarName, OPTIONEXTRADATA(option).value); | ^~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_tbar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_tbar.cpp.o src/client/ui/node/ui_node_tbar.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_tbar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_tbar.cpp:25: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_tbar.cpp:28: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_tbar.cpp: In member function ‘virtual void uiTBarNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:44:55: note: in expansion of macro ‘EXTRADATA’ 44 | const char* ref = UI_GetReferenceString(node, EXTRADATA(node).image); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:65:23: note: in expansion of macro ‘EXTRADATA’ 65 | shx = EXTRADATA(node).texl[0]; /* left gap to the texture */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:22: note: in expansion of macro ‘EXTRADATA’ 72 | shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:47: note: in expansion of macro ‘EXTRADATA’ 72 | shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: in expansion of macro ‘UI_EXTRADATA’ 34 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:72: note: in expansion of macro ‘EXTRADATA’ 72 | shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); | ^~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp: In function ‘void UI_RegisterTBarNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:85:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 85 | UI_RegisterExtradataNodeProperty(behaviour, "image", V_CVAR_OR_STRING, EXTRADATA_TYPE, image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:88:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 88 | UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘tbarExtraData_t*’ {aka ‘tbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:90:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 90 | UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_text.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_text.cpp.o src/client/ui/node/ui_node_text.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_text.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_text.cpp:27: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_text.cpp: In member function ‘void uiTextNode::validateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:51:13: note: in expansion of macro ‘EXTRADATA’ 51 | if (EXTRADATA(node).dataID == TEXT_NULL || node->text != nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:54:31: note: in expansion of macro ‘EXTRADATA’ 54 | v = UI_GetDataVersion(EXTRADATA(node).dataID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:55:18: note: in expansion of macro ‘EXTRADATA’ 55 | if (v != EXTRADATA(node).versionId) { | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘const char* UI_TextNodeGetSelectedText(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:62:47: note: in expansion of macro ‘EXTRADATA’ 62 | const char* text = UI_GetTextFromList(EXTRADATA(node).dataID, num); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘void UI_TextNodeSelectLine(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:73:13: note: in expansion of macro ‘EXTRADATA’ 73 | if (EXTRADATA(node).textLineSelected == num) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:75:9: note: in expansion of macro ‘EXTRADATA’ 75 | EXTRADATA(node).textLineSelected = num; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:76:9: note: in expansion of macro ‘EXTRADATA’ 76 | EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, num); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘void UI_TextScrollEnd(const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:101:13: note: in expansion of macro ‘EXTRADATA’ 101 | if (EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:101:54: note: in expansion of macro ‘EXTRADATA’ 101 | if (EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:17: note: in expansion of macro ‘EXTRADATA’ 102 | EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:57: note: in expansion of macro ‘EXTRADATA’ 102 | EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:98: note: in expansion of macro ‘EXTRADATA’ 102 | EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:103:46: note: in expansion of macro ‘EXTRADATA’ 103 | UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘int UI_TextNodeGetLine(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:120:22: note: in expansion of macro ‘EXTRADATACONST’ 120 | lineHeight = EXTRADATACONST(node).lineHeight; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:132:41: note: in expansion of macro ‘EXTRADATACONST’ 132 | line = (int) (y / lineHeight) + EXTRADATACONST(node).super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:135:21: note: in expansion of macro ‘EXTRADATACONST’ 135 | if (line >= EXTRADATACONST(node).super.scrollY.fullSize) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:143:9: note: in expansion of macro ‘EXTRADATA’ 143 | EXTRADATA(node).lineUnderMouse = UI_TextNodeGetLine(node, x, y); | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘void uiTextNode::drawText(uiNode_t*, const char*, const linkedList_t*, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:173:34: note: in expansion of macro ‘EXTRADATA’ 173 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:180:29: note: in expansion of macro ‘EXTRADATA’ 180 | viewSizeY = EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:250:34: note: in expansion of macro ‘EXTRADATA’ 250 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:250:70: note: in expansion of macro ‘EXTRADATA’ 250 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:257:36: note: in expansion of macro ‘EXTRADATA’ 257 | if (node->state && EXTRADATA(node).mousefx && fullSizeY == EXTRADATA(node).lineUnderMouse) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:257:76: note: in expansion of macro ‘EXTRADATA’ 257 | if (node->state && EXTRADATA(node).mousefx && fullSizeY == EXTRADATA(node).lineUnderMouse) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:260:42: note: in expansion of macro ‘EXTRADATA’ 260 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:260:78: note: in expansion of macro ‘EXTRADATA’ 260 | if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:277:38: note: in expansion of macro ‘EXTRADATA’ 277 | if (!EXTRADATA(node).tabWidth) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:280:52: note: in expansion of macro ‘EXTRADATA’ 280 | tabwidth = EXTRADATA(node).tabWidth; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:303:115: note: in expansion of macro ‘EXTRADATA’ 303 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x1, tabwidth - 1, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, false, LONGLINES_PRETTYCHOP); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:303:159: note: in expansion of macro ‘EXTRADATA’ 303 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x1, tabwidth - 1, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, false, LONGLINES_PRETTYCHOP); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:322:87: note: in expansion of macro ‘EXTRADATA’ 322 | R_FontTextSize(font, cur, width, (longlines_t)EXTRADATA(node).longlines, nullptr, nullptr, &lines, nullptr); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:107: note: in expansion of macro ‘EXTRADATA’ 325 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:151: note: in expansion of macro ‘EXTRADATA’ 325 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:221: note: in expansion of macro ‘EXTRADATA’ 325 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:329:21: note: in expansion of macro ‘EXTRADATA’ 329 | if (EXTRADATA(node).mousefx) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::updateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:353:13: note: in expansion of macro ‘EXTRADATA’ 353 | if (EXTRADATA(node).dataID == TEXT_NULL && node->text != nullptr) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:356:40: note: in expansion of macro ‘EXTRADATA’ 356 | shared = &ui_global.sharedData[EXTRADATA(node).dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:372:9: note: in expansion of macro ‘EXTRADATA’ 372 | EXTRADATA(node).versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:382:13: note: in expansion of macro ‘EXTRADATA’ 382 | if (EXTRADATA(node).dataID == TEXT_NULL && node->text != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:388:40: note: in expansion of macro ‘EXTRADATA’ 388 | shared = &ui_global.sharedData[EXTRADATA(node).dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:404:9: note: in expansion of macro ‘EXTRADATA’ 404 | EXTRADATA(node).versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:415:33: note: in expansion of macro ‘EXTRADATA’ 415 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:432:33: note: in expansion of macro ‘EXTRADATA’ 432 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:469:9: note: in expansion of macro ‘EXTRADATA’ 469 | EXTRADATA(node).textLineSelected = -1; /**< Invalid/no line selected per default. */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:470:9: note: in expansion of macro ‘EXTRADATA’ 470 | EXTRADATA(node).textSelected = ""; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:477:26: note: in expansion of macro ‘EXTRADATA’ 477 | int lineheight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:487:13: note: in expansion of macro ‘EXTRADATA’ 487 | if (EXTRADATA(node).super.scrollY.viewSize == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:489:25: note: in expansion of macro ‘EXTRADATA’ 489 | EXTRADATA(node).super.scrollY.viewSize = node->box.size[1] / lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:491:25: note: in expansion of macro ‘EXTRADATA’ 491 | EXTRADATA(node).super.scrollY.viewSize = 1; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:498:37: note: in expansion of macro ‘EXTRADATA’ 498 | node->box.size[1] = EXTRADATA(node).super.scrollY.viewSize * lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:502:13: note: in expansion of macro ‘EXTRADATA’ 502 | if (EXTRADATA(node).dataID >= UI_MAX_DATAID) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:503:128: note: in expansion of macro ‘EXTRADATA’ 503 | Com_Error(ERR_DROP, "Error in node %s - max shared data id num exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).dataID, UI_MAX_DATAID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:512:38: note: in expansion of macro ‘EXTRADATA’ 512 | if (node->text == nullptr && EXTRADATA(node).dataID == TEXT_NULL) | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual void uiTextNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:523:17: note: in expansion of macro ‘EXTRADATA’ 523 | EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:523:58: note: in expansion of macro ‘EXTRADATA’ 523 | EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In member function ‘virtual int uiTextNode::getCellHeight(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:557:26: note: in expansion of macro ‘EXTRADATA’ 557 | int lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/ui_node_text.cpp: In function ‘void UI_RegisterTextNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:571:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 571 | UI_RegisterExtradataNodeProperty(behaviour, "lineselected", V_INT, textExtraData_t, textLineSelected); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:574:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 574 | UI_RegisterExtradataNodeProperty(behaviour, "textselected", V_CVAR_OR_STRING, textExtraData_t, textSelected); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:583:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 583 | UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, textExtraData_t, dataID); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:585:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 585 | UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, textExtraData_t, lineHeight); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:587:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 587 | UI_RegisterExtradataNodeProperty(behaviour, "tabwidth", V_INT, textExtraData_t, tabWidth); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:591:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 591 | UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, textExtraData_t, longlines); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:597:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 597 | UI_RegisterExtradataNodeProperty(behaviour, "rows", V_INT, textExtraData_t, super.scrollY.viewSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:602:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 602 | UI_RegisterExtradataNodeProperty(behaviour, "lines", V_INT, textExtraData_t, super.scrollY.fullSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:607:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 607 | UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, textExtraData_t, mousefx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_text2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_text2.cpp.o src/client/ui/node/ui_node_text2.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_text2.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text2.cpp:27: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_text2.cpp:28: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_text2.cpp: In function ‘void UI_TextNodeGenerateLineSplit(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:50:22: note: in expansion of macro ‘EXTRADATA’ 50 | LIST_Delete(&EXTRADATA(node).lineSplit); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:54:18: note: in expansion of macro ‘EXTRADATA’ 54 | else if (EXTRADATA(node).super.dataID != TEXT_NULL) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:56:48: note: in expansion of macro ‘EXTRADATA’ 56 | shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:59:43: note: in expansion of macro ‘EXTRADATA’ 59 | data = UI_GetText(EXTRADATA(node).super.dataID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:86:33: note: in expansion of macro ‘EXTRADATA’ 86 | LIST_AddString(&EXTRADATA(node).lineSplit, buffer); | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In function ‘int UI_TextNodeGetLine(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:109:22: note: in expansion of macro ‘EXTRADATACONST’ 109 | lineHeight = EXTRADATACONST(node).super.lineHeight; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:121:41: note: in expansion of macro ‘EXTRADATACONST’ 121 | line = (int) (y / lineHeight) + EXTRADATACONST(node).super.super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 42 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:124:21: note: in expansion of macro ‘EXTRADATACONST’ 124 | if (line >= EXTRADATACONST(node).super.super.scrollY.fullSize) | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:132:9: note: in expansion of macro ‘EXTRADATA’ 132 | EXTRADATA(node).super.lineUnderMouse = UI_TextNodeGetLine(node, x, y); | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘void uiText2Node::drawText(uiNode_t*, const linkedList_t*, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:156:34: note: in expansion of macro ‘EXTRADATA’ 156 | int lineHeight = EXTRADATA(node).super.lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:163:29: note: in expansion of macro ‘EXTRADATA’ 163 | viewSizeY = EXTRADATA(node).super.super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:215:79: note: in expansion of macro ‘EXTRADATA’ 215 | R_FontTextSize(font, cur, width, (longlines_t)EXTRADATA(node).super.longlines, nullptr, nullptr, &lines, nullptr); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:99: note: in expansion of macro ‘EXTRADATA’ 218 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:149: note: in expansion of macro ‘EXTRADATA’ 218 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:225: note: in expansion of macro ‘EXTRADATA’ 218 | UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::updateCache(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:236:13: note: in expansion of macro ‘EXTRADATA’ 236 | if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:237:32: note: in expansion of macro ‘EXTRADATA’ 237 | drawText(node, EXTRADATA(node).lineSplit, true); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:241:40: note: in expansion of macro ‘EXTRADATA’ 241 | shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:246:32: note: in expansion of macro ‘EXTRADATA’ 246 | drawText(node, EXTRADATA(node).lineSplit, true); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:249:9: note: in expansion of macro ‘EXTRADATA’ 249 | EXTRADATA(node).super.versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:261:13: note: in expansion of macro ‘EXTRADATA’ 261 | if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:262:32: note: in expansion of macro ‘EXTRADATA’ 262 | drawText(node, EXTRADATA(node).lineSplit, false); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:266:40: note: in expansion of macro ‘EXTRADATA’ 266 | shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:270:32: note: in expansion of macro ‘EXTRADATA’ 270 | drawText(node, EXTRADATA(node).lineSplit, false); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:279:9: note: in expansion of macro ‘EXTRADATA’ 279 | EXTRADATA(node).super.versionId = shared->versionId; | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:290:33: note: in expansion of macro ‘EXTRADATA’ 290 | if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:307:33: note: in expansion of macro ‘EXTRADATA’ 307 | if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:318:9: note: in expansion of macro ‘EXTRADATA’ 318 | EXTRADATA(node).super.textLineSelected = -1; /**< Invalid/no line selected per default. */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:319:9: note: in expansion of macro ‘EXTRADATA’ 319 | EXTRADATA(node).super.textSelected = ""; | ^~~~~~~~~ src/client/ui/node/ui_node_text2.cpp: In member function ‘virtual void uiText2Node::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:326:26: note: in expansion of macro ‘EXTRADATA’ 326 | int lineheight = EXTRADATA(node).super.lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:336:13: note: in expansion of macro ‘EXTRADATA’ 336 | if (EXTRADATA(node).super.super.scrollY.viewSize == 0) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:338:25: note: in expansion of macro ‘EXTRADATA’ 338 | EXTRADATA(node).super.super.scrollY.viewSize = node->box.size[1] / lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:340:25: note: in expansion of macro ‘EXTRADATA’ 340 | EXTRADATA(node).super.super.scrollY.viewSize = 1; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:347:37: note: in expansion of macro ‘EXTRADATA’ 347 | node->box.size[1] = EXTRADATA(node).super.super.scrollY.viewSize * lineheight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:351:13: note: in expansion of macro ‘EXTRADATA’ 351 | if (EXTRADATA(node).super.dataID >= UI_MAX_DATAID) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:352:124: note: in expansion of macro ‘EXTRADATA’ 352 | Com_Error(ERR_DROP, "Error in node %s - max shared data id exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).super.dataID, UI_MAX_DATAID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘text2ExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: in expansion of macro ‘UI_EXTRADATA’ 41 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:361:38: note: in expansion of macro ‘EXTRADATA’ 361 | if (node->text == nullptr && EXTRADATA(node).super.dataID == TEXT_NULL) | ^~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_textentry.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_textentry.cpp.o src/client/ui/node/ui_node_textentry.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_textentry.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textentry.cpp:32: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_textentry.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_textentry.cpp: In function ‘void UI_TextEntryNodeAbortEdition(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:101:13: note: in expansion of macro ‘EXTRADATA’ 101 | if (EXTRADATA(node).onAbort) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:102:46: note: in expansion of macro ‘EXTRADATA’ 102 | UI_ExecuteEventActions(node, EXTRADATA(node).onAbort); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual void uiTextEntryNode::onFocusGained(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:152:9: note: in expansion of macro ‘EXTRADATA’ 152 | EXTRADATA(node).cursorPosition = UTF8_strlen(editedCvar->string); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual void uiTextEntryNode::onFocusLost(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:182:26: note: in expansion of macro ‘EXTRADATA’ 182 | if (isAborted || EXTRADATA(node).clickOutAbort) { | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In function ‘void UI_TextEntryNodeEdit(uiNode_t*, unsigned int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:204:21: note: in expansion of macro ‘EXTRADATA’ 204 | if (EXTRADATA(node).cursorPosition > 0){ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:205:53: note: in expansion of macro ‘EXTRADATA’ 205 | UTF8_delete_char_at(buffer, EXTRADATA(node).cursorPosition - 1); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:206:25: note: in expansion of macro ‘EXTRADATA’ 206 | EXTRADATA(node).cursorPosition--; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:209:21: note: in expansion of macro ‘EXTRADATA’ 209 | if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string)){ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:210:53: note: in expansion of macro ‘EXTRADATA’ 210 | UTF8_delete_char_at(buffer, EXTRADATA(node).cursorPosition); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:220:82: note: in expansion of macro ‘EXTRADATA’ 220 | int insertedLength = UTF8_insert_char_at(buffer, sizeof(buffer), EXTRADATA(node).cursorPosition, unicode); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:222:25: note: in expansion of macro ‘EXTRADATA’ 222 | EXTRADATA(node).cursorPosition++; | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual bool uiTextEntryNode::onKeyPressed(uiNode_t*, unsigned int, short unsigned int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:253:21: note: in expansion of macro ‘EXTRADATA’ 253 | if (EXTRADATA(node).cursorPosition > 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:254:25: note: in expansion of macro ‘EXTRADATA’ 254 | EXTRADATA(node).cursorPosition--; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:258:21: note: in expansion of macro ‘EXTRADATA’ 258 | if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:259:25: note: in expansion of macro ‘EXTRADATA’ 259 | EXTRADATA(node).cursorPosition++; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:263:17: note: in expansion of macro ‘EXTRADATA’ 263 | EXTRADATA(node).cursorPosition = 0; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:267:17: note: in expansion of macro ‘EXTRADATA’ 267 | EXTRADATA(node).cursorPosition = UTF8_strlen(editedCvar->string); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In member function ‘virtual void uiTextEntryNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:308:13: note: in expansion of macro ‘EXTRADATA’ 308 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:309:43: note: in expansion of macro ‘EXTRADATA’ 309 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:314:21: note: in expansion of macro ‘EXTRADATA’ 314 | if (EXTRADATA(node).isPassword) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:330:71: note: in expansion of macro ‘EXTRADATA’ 330 | UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_ON); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: in expansion of macro ‘UI_EXTRADATA’ 57 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:332:71: note: in expansion of macro ‘EXTRADATA’ 332 | UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_OFF); | ^~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp: In function ‘void UI_RegisterTextEntryNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:375:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 375 | UI_RegisterExtradataNodeProperty(behaviour, "isPassword", V_BOOL, textEntryExtraData_t, isPassword); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:379:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 379 | UI_RegisterExtradataNodeProperty(behaviour, "clickOutAbort", V_BOOL, textEntryExtraData_t, clickOutAbort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:381:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 381 | UI_RegisterExtradataNodeProperty(behaviour, "cursorPosition", V_INT, textEntryExtraData_t, cursorPosition); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:383:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 383 | UI_RegisterExtradataNodeProperty(behaviour, "onAbort", V_UI_ACTION, textEntryExtraData_t, onAbort); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textEntryExtraData_t*’ {aka ‘textEntryExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:387:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 387 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_textlist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_textlist.cpp.o src/client/ui/node/ui_node_textlist.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_textlist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textlist.cpp:25: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_textlist.cpp:26: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_textlist.cpp: In function ‘int UI_TextListNodeGetLine(const uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, textExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:51:26: note: in expansion of macro ‘EXTRADATACONST’ 51 | int lineHeight = EXTRADATACONST(node).lineHeight; | ^~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const textExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:40:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 40 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, textExtraData_t) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:59:41: note: in expansion of macro ‘EXTRADATACONST’ 59 | return (int) (y / lineHeight) + EXTRADATACONST(node).super.scrollY.viewPos; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:64:9: note: in expansion of macro ‘EXTRADATA’ 64 | EXTRADATA(node).lineUnderMouse = UI_TextListNodeGetLine(node, x, y); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘void uiTextListNode::drawText(uiNode_t*, const linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:84:22: note: in expansion of macro ‘EXTRADATA’ 84 | lineHeight = EXTRADATA(node).lineHeight; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:91:29: note: in expansion of macro ‘EXTRADATA’ 91 | viewSizeY = EXTRADATA(node).super.scrollY.viewSize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:106:32: note: in expansion of macro ‘EXTRADATA’ 106 | while (list && count < EXTRADATA(node).super.scrollY.viewPos) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:120:30: note: in expansion of macro ‘EXTRADATA’ 120 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:120:66: note: in expansion of macro ‘EXTRADATA’ 120 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:126:45: note: in expansion of macro ‘EXTRADATA’ 126 | if (node->state && count == EXTRADATA(node).lineUnderMouse) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:127:38: note: in expansion of macro ‘EXTRADATA’ 127 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:127:74: note: in expansion of macro ‘EXTRADATA’ 127 | if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:161:40: note: in expansion of macro ‘EXTRADATA’ 161 | shared = &ui_global.sharedData[EXTRADATA(node).dataID]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:167:98: note: in expansion of macro ‘EXTRADATA’ 167 | Com_Printf("UI_TextListNodeDraw: Only linkedlist text supported (dataid %d).\n", EXTRADATA(node).dataID); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:168:30: note: in expansion of macro ‘EXTRADATA’ 168 | UI_ResetData(EXTRADATA(node).dataID); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onLeftClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:183:33: note: in expansion of macro ‘EXTRADATA’ 183 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:186:21: note: in expansion of macro ‘EXTRADATA’ 186 | if (line != EXTRADATA(node).textLineSelected) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:187:17: note: in expansion of macro ‘EXTRADATA’ 187 | EXTRADATA(node).textLineSelected = line; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:188:17: note: in expansion of macro ‘EXTRADATA’ 188 | EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, line); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onRightClick(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:205:33: note: in expansion of macro ‘EXTRADATA’ 205 | if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:208:21: note: in expansion of macro ‘EXTRADATA’ 208 | if (line != EXTRADATA(node).textLineSelected) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:209:17: note: in expansion of macro ‘EXTRADATA’ 209 | EXTRADATA(node).textLineSelected = line; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:210:17: note: in expansion of macro ‘EXTRADATA’ 210 | EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, line); | ^~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp: In member function ‘virtual void uiTextListNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:221:9: note: in expansion of macro ‘EXTRADATA’ 221 | EXTRADATA(node).textLineSelected = -1; /**< Invalid/no line selected per default. */ | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘textExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: in expansion of macro ‘UI_EXTRADATA’ 39 | #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:222:9: note: in expansion of macro ‘EXTRADATA’ 222 | EXTRADATA(node).textSelected = ""; | ^~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_texture.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_texture.cpp.o src/client/ui/node/ui_node_texture.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_texture.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_texture.cpp:34: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_texture.cpp:37: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_timer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_timer.cpp.o src/client/ui/node/ui_node_timer.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_timer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_parse.h:27, from src/client/ui/node/ui_node_timer.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_timer.cpp:28: src/client/ui/node/ui_node_timer.cpp: In member function ‘virtual void uiTimerNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:40:9: note: in expansion of macro ‘EXTRADATA’ 40 | EXTRADATA(node).lastTime = CL_Milliseconds(); | ^~~~~~~~~ src/client/ui/node/ui_node_timer.cpp: In member function ‘virtual void uiTimerNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:32:25: note: in expansion of macro ‘UI_EXTRADATA’ 32 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:53:34: note: in expansion of macro ‘EXTRADATA’ 53 | timerExtraData_t& data = EXTRADATA(node); | ^~~~~~~~~ src/client/ui/node/ui_node_timer.cpp: In function ‘void UI_RegisterTimerNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:77:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 77 | UI_RegisterExtradataNodeProperty(behaviour, "timeout", V_INT, EXTRADATA_TYPE, timeOut); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘timerExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:80:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 80 | UI_RegisterExtradataNodeProperty(behaviour, "onEvent", V_UI_ACTION, EXTRADATA_TYPE, onTimeOut); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_todo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_todo.cpp.o src/client/ui/node/ui_node_todo.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_todo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_todo.cpp:26: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_todo.cpp:31: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_video.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_video.cpp.o src/client/ui/node/ui_node_video.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_video.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_video.cpp:31: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../../client.h:32, from src/client/ui/node/ui_node_video.cpp:39: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::drawOverWindow(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:48:13: note: in expansion of macro ‘EXTRADATA’ 48 | if (EXTRADATA(node).cin.status == CIN_STATUS_INVALID) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:53:13: note: in expansion of macro ‘EXTRADATA’ 53 | if (EXTRADATA(node).cin.status == CIN_STATUS_NONE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.h:41:38: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define UI_VIDEOEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_VIDEOEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:55:32: note: in expansion of macro ‘UI_VIDEOEXTRADATACONST’ 55 | bool nosound = UI_VIDEOEXTRADATACONST(node).nosound; | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:57:37: note: in expansion of macro ‘EXTRADATA’ 57 | CIN_OpenCinematic(&(EXTRADATA(node).cin), va("videos/%s", EXTRADATA(node).source)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:57:75: note: in expansion of macro ‘EXTRADATA’ 57 | CIN_OpenCinematic(&(EXTRADATA(node).cin), va("videos/%s", EXTRADATA(node).source)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:58:21: note: in expansion of macro ‘EXTRADATA’ 58 | if (EXTRADATA(node).cin.status == CIN_STATUS_INVALID) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:59:54: note: in expansion of macro ‘EXTRADATA’ 59 | UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:64:37: note: in expansion of macro ‘EXTRADATA’ 64 | CIN_SetParameters(&(EXTRADATA(node).cin), pos[0], pos[1], node->box.size[0], node->box.size[1], CIN_STATUS_PLAYING, nosound); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:67:13: note: in expansion of macro ‘EXTRADATA’ 67 | if (EXTRADATA(node).cin.status == CIN_STATUS_PLAYING || EXTRADATA(node).cin.status == CIN_STATUS_PAUSE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:67:65: note: in expansion of macro ‘EXTRADATA’ 67 | if (EXTRADATA(node).cin.status == CIN_STATUS_PLAYING || EXTRADATA(node).cin.status == CIN_STATUS_PAUSE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:69:36: note: in expansion of macro ‘EXTRADATA’ 69 | CIN_RunCinematic(&(EXTRADATA(node).cin)); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:70:21: note: in expansion of macro ‘EXTRADATA’ 70 | if (EXTRADATA(node).cin.status == CIN_STATUS_NONE) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:71:54: note: in expansion of macro ‘EXTRADATA’ 71 | UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:78:14: note: in expansion of macro ‘EXTRADATA’ 78 | if (!EXTRADATA(node).source) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:81:13: note: in expansion of macro ‘EXTRADATA’ 81 | if (EXTRADATA(node).cin.fullScreen) { | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:91:29: note: in expansion of macro ‘EXTRADATA’ 91 | CIN_InitCinematic(&(EXTRADATA(node).cin)); | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In member function ‘virtual void uiVideoNode::onWindowClosed(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: in expansion of macro ‘UI_EXTRADATA’ 43 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:97:30: note: in expansion of macro ‘EXTRADATA’ 97 | CIN_CloseCinematic(&(EXTRADATA(node).cin)); | ^~~~~~~~~ src/client/ui/node/ui_node_video.cpp: In function ‘void UI_RegisterVideoNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:107:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 107 | UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:109:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 109 | UI_RegisterExtradataNodeProperty(behaviour, "nosound", V_BOOL, EXTRADATA_TYPE, nosound); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘videoExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:111:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 111 | UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_vscrollbar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_vscrollbar.cpp.o src/client/ui/node/ui_node_vscrollbar.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_vscrollbar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_vscrollbar.cpp:27: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../../cl_renderer.h:29, from src/client/ui/node/../ui_render.h:28, from src/client/ui/node/ui_node_vscrollbar.cpp:33: src/client/ui/node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../../renderer/r_gl.h:32, from src/client/ui/node/../../renderer/r_image.h:28, from src/client/ui/node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../../renderer/r_model.h:30, from src/client/ui/node/../../cl_renderer.h:28: src/client/ui/node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeGetElementSize(uiNode_t*, int*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:59:49: note: in expansion of macro ‘EXTRADATA’ 59 | const int low = cuttableSize * ((float)(EXTRADATA(node).pos + 0) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:59:83: note: in expansion of macro ‘EXTRADATA’ 59 | const int low = cuttableSize * ((float)(EXTRADATA(node).pos + 0) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:60:52: note: in expansion of macro ‘EXTRADATA’ 60 | const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:60:87: note: in expansion of macro ‘EXTRADATA’ 60 | const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize); | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeSet(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:97:26: note: in expansion of macro ‘EXTRADATA’ 97 | } else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:97:53: note: in expansion of macro ‘EXTRADATA’ 97 | } else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:98:23: note: in expansion of macro ‘EXTRADATA’ 98 | pos = EXTRADATA(node).fullsize - EXTRADATA(node).viewsize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:98:50: note: in expansion of macro ‘EXTRADATA’ 98 | pos = EXTRADATA(node).fullsize - EXTRADATA(node).viewsize; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:104:13: note: in expansion of macro ‘EXTRADATA’ 104 | if (EXTRADATA(node).pos == pos) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:108:9: note: in expansion of macro ‘EXTRADATA’ 108 | EXTRADATA(node).pos = pos; | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeDiff(uiNode_t*, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:121:36: note: in expansion of macro ‘EXTRADATA’ 121 | UI_VScrollbarNodeSet(node, EXTRADATA(node).pos + value); | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In function ‘void UI_VScrollbarNodeAction(uiNode_t*, int, bool)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:163:34: note: in expansion of macro ‘EXTRADATA’ 163 | oldPos = EXTRADATA(node).pos; | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:13: note: in expansion of macro ‘EXTRADATA’ 193 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:46: note: in expansion of macro ‘EXTRADATA’ 193 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:73: note: in expansion of macro ‘EXTRADATA’ 193 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::onMouseUp(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:13: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:46: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:73: note: in expansion of macro ‘EXTRADATA’ 206 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual bool uiVScrollbarNode::onScroll(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:13: note: in expansion of macro ‘EXTRADATA’ 235 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:46: note: in expansion of macro ‘EXTRADATA’ 235 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:73: note: in expansion of macro ‘EXTRADATA’ 235 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:237:36: note: in expansion of macro ‘EXTRADATA’ 237 | UI_VScrollbarNodeSet(node, EXTRADATA(node).pos + deltaY); | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::onCapturedMouseMove(uiNode_t*, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:249:29: note: in expansion of macro ‘EXTRADATA’ 249 | const int posSize = EXTRADATA(node).fullsize; | ^~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp: In member function ‘virtual void uiVScrollbarNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:13: note: in expansion of macro ‘EXTRADATA’ 279 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:46: note: in expansion of macro ‘EXTRADATA’ 279 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:74: note: in expansion of macro ‘EXTRADATA’ 279 | if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘abstractScrollbarExtraData_t*’ {aka ‘abstractScrollbarExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: in expansion of macro ‘UI_EXTRADATA’ 51 | #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:281:21: note: in expansion of macro ‘EXTRADATA’ 281 | if (EXTRADATA(node).hideWhenUnused) | ^~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_window.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_window.cpp.o src/client/ui/node/ui_node_window.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_window.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h:30, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_window.cpp:26: src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/ui/node/../node/../../cl_renderer.h:29, from src/client/ui/node/../node/ui_node_model.h:29, from src/client/ui/node/../ui_internal.h:36, from src/client/ui/node/ui_node_window.cpp:30: src/client/ui/node/../node/../../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/ui/node/../node/../../renderer/r_gl.h:32, from src/client/ui/node/../node/../../renderer/r_image.h:28, from src/client/ui/node/../node/../../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/ui/node/../node/../../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/ui/node/../../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/ui/node/../node/../../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/ui/node/../node/../../renderer/r_model.h:30, from src/client/ui/node/../node/../../cl_renderer.h:28: src/client/ui/node/../node/../../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/ui/node/../ui_data.h:31: src/client/ui/node/ui_node_window.cpp: In function ‘uiNode_t* UI_WindowNodeGetIndexedChild(uiNode_t*, const char*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:61:18: note: in expansion of macro ‘EXTRADATA’ 61 | for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) { | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowNodeAddIndexedNode(uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:78:18: note: in expansion of macro ‘EXTRADATA’ 78 | for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:87:27: note: in expansion of macro ‘EXTRADATA’ 87 | a->next = EXTRADATA(node).index; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:88:32: note: in expansion of macro ‘EXTRADATA’ 88 | a->hash_next = EXTRADATA(node).index_hash[hash]; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:89:17: note: in expansion of macro ‘EXTRADATA’ 89 | EXTRADATA(node).index_hash[hash] = a; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:90:17: note: in expansion of macro ‘EXTRADATA’ 90 | EXTRADATA(node).index = a; | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowIsFullScreen(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:111:16: note: in expansion of macro ‘EXTRADATACONST’ 111 | return EXTRADATACONST(node).isFullScreen; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::draw(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:144:13: note: in expansion of macro ‘EXTRADATA’ 144 | if (EXTRADATA(node).modal && ui_global.windowStack[ui_global.windowStackPos - 1] == node) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:147:13: note: in expansion of macro ‘EXTRADATA’ 147 | if (EXTRADATA(node).background) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:148:43: note: in expansion of macro ‘EXTRADATA’ 148 | UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::doLayout(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:163:13: note: in expansion of macro ‘EXTRADATA’ 163 | if (EXTRADATA(node).fill) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:180:13: note: in expansion of macro ‘EXTRADATA’ 180 | if (EXTRADATA(node).starLayout) { | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onWindowOpened(uiNode_t*, linkedList_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:196:13: note: in expansion of macro ‘EXTRADATA’ 196 | if (EXTRADATA(node).onWindowOpened) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:197:48: note: in expansion of macro ‘EXTRADATA’ 197 | UI_ExecuteEventActionsEx(node, EXTRADATA(node).onWindowOpened, params); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onWindowClosed(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:210:13: note: in expansion of macro ‘EXTRADATA’ 210 | if (EXTRADATA(node).onWindowClosed) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:211:46: note: in expansion of macro ‘EXTRADATA’ 211 | UI_ExecuteEventActions(node, EXTRADATA(node).onWindowClosed); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onWindowActivate(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:222:13: note: in expansion of macro ‘EXTRADATA’ 222 | if (EXTRADATA(node).onWindowActivate) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:223:46: note: in expansion of macro ‘EXTRADATA’ 223 | UI_ExecuteEventActions(node, EXTRADATA(node).onWindowActivate); | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::onLoaded(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:243:13: note: in expansion of macro ‘EXTRADATA’ 243 | if (EXTRADATA(node).dragButton) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:255:13: note: in expansion of macro ‘EXTRADATA’ 255 | if (EXTRADATA(node).closeButton) { | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:272:9: note: in expansion of macro ‘EXTRADATA’ 272 | EXTRADATA(node).isFullScreen = node->box.size[0] == VID_NORM_WIDTH | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:275:13: note: in expansion of macro ‘EXTRADATA’ 275 | if (EXTRADATA(node).starLayout) | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In member function ‘virtual void uiWindowNode::clone(const uiNode_t*, uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:282:9: note: in expansion of macro ‘EXTRADATA’ 282 | EXTRADATA(clone).index = nullptr; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:176:36: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_window.cpp:283:9: note: in expansion of macro ‘OBJZERO’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:283:17: note: in expansion of macro ‘EXTRADATA’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/shared.h:176:56: note: in definition of macro ‘OBJSET’ 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ^~~ src/client/ui/node/ui_node_window.cpp:283:9: note: in expansion of macro ‘OBJZERO’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:283:17: note: in expansion of macro ‘EXTRADATA’ 283 | OBJZERO(EXTRADATA(clone).index_hash); | ^~~~~~~~~ In file included from src/client/ui/node/../../../common/../shared/mathlib.h:113, from src/client/ui/node/../../../common/common.h:31, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28: src/client/ui/node/ui_node_window.cpp: In function ‘vec_t* UI_WindowNodeGetNoticePosition(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:28: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/../../../common/../shared/vector.h:74:43: note: in expansion of macro ‘Vector2Equal’ 74 | #define Vector2Empty(a) (Vector2Equal((a), vec2_origin)) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:13: note: in expansion of macro ‘Vector2Empty’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:26: note: in expansion of macro ‘EXTRADATA’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/../shared/vector.h:37:28: note: in definition of macro ‘EQUAL’ 37 | #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) | ^ src/client/ui/node/../../../common/../shared/vector.h:74:43: note: in expansion of macro ‘Vector2Equal’ 74 | #define Vector2Empty(a) (Vector2Equal((a), vec2_origin)) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:13: note: in expansion of macro ‘Vector2Empty’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:293:26: note: in expansion of macro ‘EXTRADATA’ 293 | if (Vector2Empty(EXTRADATA(node).noticePos)) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:295:16: note: in expansion of macro ‘EXTRADATA’ 295 | return EXTRADATA(node).noticePos; | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowIsDropDown(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:305:16: note: in expansion of macro ‘EXTRADATACONST’ 305 | return EXTRADATACONST(node).dropdown; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘bool UI_WindowIsModal(const uiNode_t*)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:315:16: note: in expansion of macro ‘EXTRADATACONST’ 315 | return EXTRADATACONST(node).modal; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘void UI_WindowNodeRegisterKeyBinding(uiNode_t*, uiKeyBinding_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:328:25: note: in expansion of macro ‘EXTRADATA’ 328 | binding->next = EXTRADATA(node).keyList; | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:329:9: note: in expansion of macro ‘EXTRADATA’ 329 | EXTRADATA(node).keyList = binding; | ^~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘uiKeyBinding_t* UI_WindowNodeGetKeyBinding(const uiNode_t*, unsigned int)’: src/client/ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:342:35: note: in expansion of macro ‘EXTRADATACONST’ 342 | uiKeyBinding_t* binding = EXTRADATACONST(node).keyList; | ^~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp: In function ‘void UI_RegisterWindowNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:360:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 360 | UI_RegisterExtradataNodeProperty(behaviour, "noticepos", V_POS, windowExtraData_t, noticePos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:362:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 362 | UI_RegisterExtradataNodeProperty(behaviour, "dragbutton", V_BOOL, windowExtraData_t, dragButton); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:364:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 364 | UI_RegisterExtradataNodeProperty(behaviour, "closebutton", V_BOOL, windowExtraData_t, closeButton); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:366:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 366 | UI_RegisterExtradataNodeProperty(behaviour, "modal", V_BOOL, windowExtraData_t, modal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:368:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 368 | UI_RegisterExtradataNodeProperty(behaviour, "dropdown", V_BOOL, windowExtraData_t, dropdown); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:370:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 370 | UI_RegisterExtradataNodeProperty(behaviour, "preventtypingescape", V_BOOL, windowExtraData_t, preventTypingEscape); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:372:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 372 | UI_RegisterExtradataNodeProperty(behaviour, "fill", V_BOOL, windowExtraData_t, fill); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:376:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 376 | UI_RegisterExtradataNodeProperty(behaviour, "starlayout", V_BOOL, windowExtraData_t, starLayout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:379:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 379 | UI_RegisterExtradataNodeProperty(behaviour, "onWindowOpened", V_UI_ACTION, windowExtraData_t, onWindowOpened); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:381:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 381 | UI_RegisterExtradataNodeProperty(behaviour, "onWindowClosed", V_UI_ACTION, windowExtraData_t, onWindowClosed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:383:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 383 | UI_RegisterExtradataNodeProperty(behaviour, "onWindowActivate", V_UI_ACTION, windowExtraData_t, onWindowActivate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:385:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 385 | UI_RegisterExtradataNodeProperty(behaviour, "onScriptLoaded", V_UI_ACTION, windowExtraData_t, onScriptLoaded); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘windowExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:388:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 388 | UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_zone.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/ui/node/ui_node_zone.cpp.o src/client/ui/node/ui_node_zone.cpp -MP -MD -MT release-linux-riscv64/ufo/client/ui/node/ui_node_zone.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30, from src/client/ui/node/../../../common/scripts.h:28, from src/client/ui/node/../ui_nodes.h:28, from src/client/ui/node/ui_node_zone.cpp:28: src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/ui/node/ui_node_zone.cpp: In member function ‘virtual void uiZoneNode::onMouseDown(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:53:14: note: in expansion of macro ‘EXTRADATA’ 53 | if (!EXTRADATA(node).repeat) | ^~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:57:53: note: in expansion of macro ‘EXTRADATA’ 57 | capturedTimer = UI_AllocTimer(node, EXTRADATA(node).clickDelay, UI_ZoneNodeRepeat); | ^~~~~~~~~ src/client/ui/node/ui_node_zone.cpp: In member function ‘virtual void uiZoneNode::onMouseUp(uiNode_t*, int, int, int)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:64:14: note: in expansion of macro ‘EXTRADATA’ 64 | if (!EXTRADATA(node).repeat) | ^~~~~~~~~ src/client/ui/node/ui_node_zone.cpp: In member function ‘virtual void uiZoneNode::onLoading(uiNode_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:88:9: note: in expansion of macro ‘EXTRADATA’ 88 | EXTRADATA(node).clickDelay = 1000; | ^~~~~~~~~ src/client/ui/node/ui_node_zone.cpp: In function ‘void UI_RegisterZoneNode(uiBehaviour_t*)’: src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:98:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 98 | UI_RegisterExtradataNodeProperty(behaviour, "repeat", V_BOOL, zoneExtraData_t, repeat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘zoneExtraData_t*’ increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 95 | #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) | ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: in expansion of macro ‘UI_EXTRADATA_OFFSETOF_’ 105 | #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) | ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:100:9: note: in expansion of macro ‘UI_RegisterExtradataNodeProperty’ 100 | UI_RegisterExtradataNodeProperty(behaviour, "clickdelay", V_INT, zoneExtraData_t, clickDelay); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/renderer/r_array.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_array.cpp.o src/client/renderer/r_array.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_array.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_array.cpp:28: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_bsp.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_bsp.cpp.o src/client/renderer/r_bsp.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_bsp.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_bsp.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_corona.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_corona.cpp.o src/client/renderer/r_corona.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_corona.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_corona.cpp:22: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_draw.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_draw.cpp.o src/client/renderer/r_draw.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_draw.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_draw.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_entity.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_entity.cpp.o src/client/renderer/r_entity.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_entity.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_entity.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_flare.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_flare.cpp.o src/client/renderer/r_flare.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_flare.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_flare.cpp:22: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_font.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_font.cpp.o src/client/renderer/r_font.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_font.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_font.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_font.cpp: In function ‘int R_FontHash(const char*, const font_t*)’: src/client/renderer/r_font.cpp:262:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 262 | register int hashValue, i; | ^~~~~~~~~ src/client/renderer/r_font.cpp:262:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 262 | register int hashValue, i; | ^ ===> CXX [ufo] src/client/renderer/r_framebuffer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_framebuffer.cpp.o src/client/renderer/r_framebuffer.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_framebuffer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_framebuffer.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_geoscape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_geoscape.cpp.o src/client/renderer/r_geoscape.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_geoscape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_geoscape.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_grass.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_grass.cpp.o src/client/renderer/r_grass.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_grass.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_grass.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_image.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_image.cpp.o src/client/renderer/r_image.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_image.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_image.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_image.cpp: In function ‘image_t* R_LoadImageData(const char*, const byte*, int, int, imagetype_t)’: src/client/renderer/r_image.cpp:502:33: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const unsigned int*’ increases required alignment of target type [-Wcast-align] 502 | R_UploadTexture((const unsigned *) pic, width, height, image); | ^~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/renderer/r_light.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_light.cpp.o src/client/renderer/r_light.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_light.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_light.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_lightmap.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_lightmap.cpp.o src/client/renderer/r_lightmap.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_lightmap.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_lightmap.cpp:27: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_main.cpp.o src/client/renderer/r_main.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_main.cpp:27: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/r_gl.h:32, from src/client/renderer/r_main.cpp:26: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_material.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_material.cpp.o src/client/renderer/r_material.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_material.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_material.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_matrix.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_matrix.cpp.o src/client/renderer/r_matrix.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_matrix.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_matrix.cpp:21: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_mesh.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_mesh.cpp.o src/client/renderer/r_mesh.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_mesh.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_mesh.cpp:28: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_mesh_anim.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_mesh_anim.cpp.o src/client/renderer/r_mesh_anim.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_mesh_anim.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_mesh_anim.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_misc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_misc.cpp.o src/client/renderer/r_misc.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_misc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_misc.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_model.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_model.cpp.o src/client/renderer/r_model.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_model.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/renderer/../../common/../shared/byte.h:30, from src/client/renderer/../../common/common.h:29: src/client/renderer/r_model.cpp: In function ‘bool R_LoadModel(model_t*, const char*)’: src/client/renderer/r_model.cpp:133:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 133 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/renderer/r_model.cpp:133:17: note: in expansion of macro ‘LittleLong’ 133 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ ===> CXX [ufo] src/client/renderer/r_model_alias.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_model_alias.cpp.o src/client/renderer/r_model_alias.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_model_alias.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_alias.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/renderer/../../common/../shared/byte.h:30, from src/client/renderer/../../common/common.h:29: src/client/renderer/r_model_alias.cpp: In function ‘bool R_ModLoadMDX(model_t*)’: src/client/renderer/r_model_alias.cpp:256:39: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 256 | version = LittleLong(*(uint32_t*) buffer); | ^~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/renderer/r_model_alias.cpp:256:27: note: in expansion of macro ‘LittleLong’ 256 | version = LittleLong(*(uint32_t*) buffer); | ^~~~~~~~~~ src/client/renderer/r_model_alias.cpp:264:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const int32_t*’ {aka ‘const int*’} increases required alignment of target type [-Wcast-align] 264 | intbuf = (const int32_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/renderer/r_model_brush.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_model_brush.cpp.o src/client/renderer/r_model_brush.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_model_brush.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_brush.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadVertexes(const lump_t*)’: src/client/renderer/r_model_brush.cpp:72:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspVertex_t*’ increases required alignment of target type [-Wcast-align] 72 | in = (const dBspVertex_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadNormals(const lump_t*)’: src/client/renderer/r_model_brush.cpp:95:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspNormal_t*’ increases required alignment of target type [-Wcast-align] 95 | in = (const dBspNormal_t*)(mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadSubmodels(const lump_t*)’: src/client/renderer/r_model_brush.cpp:136:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspModel_t*’ increases required alignment of target type [-Wcast-align] 136 | in = (const dBspModel_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadEdges(const lump_t*)’: src/client/renderer/r_model_brush.cpp:165:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspEdge_t*’ increases required alignment of target type [-Wcast-align] 165 | in = (const dBspEdge_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadTexinfo(const char*, const lump_t*)’: src/client/renderer/r_model_brush.cpp:190:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspTexinfo_t*’ {aka ‘const texinfo_s*’} increases required alignment of target type [-Wcast-align] 190 | in = (const dBspTexinfo_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadSurfaces(bool, const lump_t*)’: src/client/renderer/r_model_brush.cpp:288:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspSurface_t*’ increases required alignment of target type [-Wcast-align] 288 | in = (const dBspSurface_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadNodes(const lump_t*)’: src/client/renderer/r_model_brush.cpp:361:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspNode_t*’ increases required alignment of target type [-Wcast-align] 361 | in = (const dBspNode_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadLeafs(const lump_t*)’: src/client/renderer/r_model_brush.cpp:412:32: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspLeaf_t*’ increases required alignment of target type [-Wcast-align] 412 | const dBspLeaf_t* in = (const dBspLeaf_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadSurfedges(const lump_t*)’: src/client/renderer/r_model_brush.cpp:437:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 437 | in = (const int*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModLoadPlanes(const lump_t*)’: src/client/renderer/r_model_brush.cpp:463:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspPlane_t*’ increases required alignment of target type [-Wcast-align] 463 | in = (const dBspPlane_t*) (mod_base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp: In function ‘void R_ModAddMapTile(const char*, const char*, bool, int, int, int)’: src/client/renderer/r_model_brush.cpp:1059:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dBspHeader_t*’ increases required alignment of target type [-Wcast-align] 1059 | header = (dBspHeader_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/renderer/r_model_md2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_model_md2.cpp.o src/client/renderer/r_model_md2.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_model_md2.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_md2.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadTags(model_t*, void*, int)’: src/client/renderer/r_model_md2.cpp:65:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 65 | inmat = (float*) ((byte*) pintag + pheader.ofs_tags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2MeshUnindexed(model_t*, const dMD2Model_t*, int, bool)’: src/client/renderer/r_model_md2.cpp:177:18: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Triangle_t*’ increases required alignment of target type [-Wcast-align] 177 | pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:178:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Coord_t*’ increases required alignment of target type [-Wcast-align] 178 | pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:247:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 247 | const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2MeshIndexed(model_t*, const dMD2Model_t*, int)’: src/client/renderer/r_model_md2.cpp:349:18: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Triangle_t*’ increases required alignment of target type [-Wcast-align] 349 | pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:350:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Coord_t*’ increases required alignment of target type [-Wcast-align] 350 | pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:383:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 383 | const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadLevelOfDetailData(model_t*, bool)’: src/client/renderer/r_model_md2.cpp:481:31: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 481 | md2 = (const dMD2Model_t*) buf; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2Model(model_t*, byte*, int, bool)’: src/client/renderer/r_model_md2.cpp:500:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 500 | md2 = (dMD2Model_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/renderer/r_model_md3.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_model_md3.cpp.o src/client/renderer/r_model_md3.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_model_md3.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_md3.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_md3.cpp: In function ‘void R_ModLoadAliasMD3Model(model_t*, byte*, int)’: src/client/renderer/r_model_md3.cpp:47:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dmd3_t*’ increases required alignment of target type [-Wcast-align] 47 | md3 = (dmd3_t*)buffer; | ^~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:77:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3frame_t*’ increases required alignment of target type [-Wcast-align] 77 | pinframe = (const dmd3frame_t*)((const byte*)md3 + LittleLong(md3->ofs_frames)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:98:43: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3tag_t*’ increases required alignment of target type [-Wcast-align] 98 | const dmd3tag_t* pintag = (const dmd3tag_t*)((const byte*)md3 + LittleLong(md3->ofs_tags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:117:19: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3mesh_t*’ increases required alignment of target type [-Wcast-align] 117 | pinmesh = (const dmd3mesh_t*)((const byte*)md3 + LittleLong(md3->ofs_meshes)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:148:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3skin_t*’ increases required alignment of target type [-Wcast-align] 148 | const dmd3skin_t* pinskin = (const dmd3skin_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_skins)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:158:43: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int32_t*’ {aka ‘const int*’} increases required alignment of target type [-Wcast-align] 158 | const int32_t* pinindex = (const int32_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:168:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3coord_t*’ increases required alignment of target type [-Wcast-align] 168 | const dmd3coord_t* pincoord = (const dmd3coord_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tcs)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:177:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3vertex_t*’ increases required alignment of target type [-Wcast-align] 177 | pinvert = (const dmd3vertex_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_verts)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:200:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3mesh_t*’ increases required alignment of target type [-Wcast-align] 200 | pinmesh = (const dmd3mesh_t*)((const byte*)pinmesh + LittleLong(pinmesh->meshsize)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/renderer/r_model_obj.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_model_obj.cpp.o src/client/renderer/r_model_obj.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_model_obj.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_obj.cpp:55: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_particle.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_particle.cpp.o src/client/renderer/r_particle.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_particle.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_particle.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_program.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_program.cpp.o src/client/renderer/r_program.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_program.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_program.cpp:27: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_sdl.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_sdl.cpp.o src/client/renderer/r_sdl.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_sdl.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_sdl.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_sphere.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_sphere.cpp.o src/client/renderer/r_sphere.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_sphere.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_sphere.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_state.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_state.cpp.o src/client/renderer/r_state.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_state.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_state.cpp:25: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_surface.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_surface.cpp.o src/client/renderer/r_surface.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_surface.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_surface.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/client/renderer/r_thread.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/renderer/r_thread.cpp.o src/client/renderer/r_thread.cpp -MP -MD -MT release-linux-riscv64/ufo/client/renderer/r_thread.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30, from src/client/renderer/r_local.h:28, from src/client/renderer/r_thread.cpp:26: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufo] src/common/binaryexpressionparser.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/binaryexpressionparser.cpp.o src/common/binaryexpressionparser.cpp -MP -MD -MT release-linux-riscv64/ufo/common/binaryexpressionparser.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/binaryexpressionparser.h:27, from src/common/binaryexpressionparser.cpp:25: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/cmd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/cmd.cpp.o src/common/cmd.cpp -MP -MD -MT release-linux-riscv64/ufo/common/cmd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/cmd.h:35, from src/common/cmd.cpp:34: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/http.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/http.cpp.o src/common/http.cpp -MP -MD -MT release-linux-riscv64/ufo/common/http.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/http.h:27, from src/common/http.cpp:21: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/http.cpp: In function ‘bool HTTP_PutFile(const char*, const char*, const char*, const upparam_t*)’: src/common/http.cpp:256:44: warning: ‘CURLFORM_PTRNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ^~~~~~~~~~~~~~~~ In file included from src/common/http.h:32: /usr/include/riscv64-linux-gnu/curl/curl.h:2502:3: note: declared here 2502 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/common/http.cpp:256:76: warning: ‘CURLFORM_PTRCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2505:3: note: declared here 2505 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ src/common/http.cpp:256:29: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/common/http.cpp:260:36: warning: ‘CURLFORM_PTRNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ^~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2502:3: note: declared here 2502 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/common/http.cpp:260:64: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ^~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ src/common/http.cpp:260:21: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/common/http.cpp:264:32: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 264 | curl_easy_setopt(curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:1190:3: note: declared here 1190 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/ioapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/ioapi.cpp.o src/common/ioapi.cpp -MP -MD -MT release-linux-riscv64/ufo/common/ioapi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [ufo] src/common/unzip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/unzip.cpp.o src/common/unzip.cpp -MP -MD -MT release-linux-riscv64/ufo/common/unzip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [ufo] src/common/bsp.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/bsp.cpp.o src/common/bsp.cpp -MP -MD -MT release-linux-riscv64/ufo/common/bsp.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/bsp.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/bsp.cpp: In function ‘void CMod_LoadSubmodels(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:59:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspModel_t*’ increases required alignment of target type [-Wcast-align] 59 | in = (const dBspModel_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadSurfaces(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:102:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspTexinfo_t*’ {aka ‘const texinfo_s*’} increases required alignment of target type [-Wcast-align] 102 | in = (const dBspTexinfo_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadNodes(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:143:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspNode_t*’ increases required alignment of target type [-Wcast-align] 143 | in = (const dBspNode_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadBrushes(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:193:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspBrush_t*’ increases required alignment of target type [-Wcast-align] 193 | in = (const dBspBrush_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadLeafs(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:230:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspLeaf_t*’ increases required alignment of target type [-Wcast-align] 230 | in = (const dBspLeaf_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadPlanes(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:284:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspPlane_t*’ increases required alignment of target type [-Wcast-align] 284 | in = (const dBspPlane_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadLeafBrushes(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:329:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 329 | in = (const unsigned short*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadBrushSides(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:366:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspBrushSide_t*’ increases required alignment of target type [-Wcast-align] 366 | in = (const dBspBrushSide_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CM_AddMapTile(const char*, const char*, bool, int, int, byte, mapData_t*, mapTiles_t*)’: src/common/bsp.cpp:812:19: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dBspHeader_t*’ increases required alignment of target type [-Wcast-align] 812 | header = *(dBspHeader_t*) buf; | ^~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CM_LoadMap(const char*, bool, const char*, const char*, mapData_t*, mapTiles_t*)’: src/common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘mapData_t’ {aka ‘struct mapData_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/common/bsp.cpp:942:9: note: in expansion of macro ‘OBJZERO’ 942 | OBJZERO(*mapData); | ^~~~~~~ In file included from src/common/tracing.h:30, from src/common/cmodel.h:31, from src/common/common.h:182: src/common/../shared/typedefs.h:319:16: note: ‘mapData_t’ {aka ‘struct mapData_s’} declared here 319 | typedef struct mapData_s { | ^~~~~~~~~ ===> CXX [ufo] src/common/grid.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/grid.cpp.o src/common/grid.cpp -MP -MD -MT release-linux-riscv64/ufo/common/grid.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/grid.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/grid.cpp: In member function ‘bool Step::checkFlyingDirections() const’: src/common/grid.cpp:394:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 394 | neededHeight = actorHeight + CELL_HEIGHT - std::max((const signed char)0, routing.getFloor(actorSize, fromPos)); | ^~~~~~~~~~~~~~~~~~~~ src/common/grid.cpp:399:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 399 | neededHeight = actorHeight + CELL_HEIGHT - std::max((const signed char)0, routing.getFloor(actorSize, toPos)); | ^~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/cmodel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/cmodel.cpp.o src/common/cmodel.cpp -MP -MD -MT release-linux-riscv64/ufo/common/cmodel.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/cmodel.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/common.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/common.cpp.o src/common/common.cpp -MP -MD -MT release-linux-riscv64/ufo/common/common.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/common.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/cvar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/cvar.cpp.o src/common/cvar.cpp -MP -MD -MT release-linux-riscv64/ufo/common/cvar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/cvar.cpp:31: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/files.cpp.o src/common/files.cpp -MP -MD -MT release-linux-riscv64/ufo/common/files.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/files.cpp:31: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/files.cpp: In function ‘void FS_ExecAutoexec()’: src/common/files.cpp:753:47: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=] 753 | snprintf(name, sizeof(name), "%s/autoexec.cfg", s->filename); | ^~ In file included from /usr/include/stdio.h:980, from /usr/include/SDL2/SDL_stdinc.h:37, from /usr/include/SDL2/SDL_endian.h:31, from src/common/../shared/byte.h:30, from src/common/common.h:29: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void FS_ExecAutoexec()’ at src/common/files.cpp:753:11: /usr/include/riscv64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 14 and 269 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/list.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/list.cpp.o src/common/list.cpp -MP -MD -MT release-linux-riscv64/ufo/common/list.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/list.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/md4.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/md4.cpp.o src/common/md4.cpp -MP -MD -MT release-linux-riscv64/ufo/common/md4.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/md4.cpp:32: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In function ‘void mdfour_result(mdfour*, unsigned char*)’, inlined from ‘void mdfour(unsigned char*, const unsigned char*, int)’ at src/common/md4.cpp:198:15, inlined from ‘unsigned int Com_BlockChecksum(const void*, int)’ at src/common/md4.cpp:213:8: src/common/md4.cpp:184:11: warning: storing the address of local variable ‘md’ in ‘m’ [-Wdangling-pointer=] 184 | m = md; | ~~^~~~ src/common/md4.cpp: In function ‘unsigned int Com_BlockChecksum(const void*, int)’: src/common/md4.cpp:195:23: note: ‘md’ declared here 195 | struct mdfour md; | ^~ src/common/md4.cpp:35:23: note: ‘m’ declared here 35 | static struct mdfour *m; | ^ ===> CXX [ufo] src/common/md5.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/md5.cpp.o src/common/md5.cpp -MP -MD -MT release-linux-riscv64/ufo/common/md5.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/md5.cpp:23: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/md5.cpp: In function ‘void MD5Transform(uint32_t*, const uint32_t*)’: src/common/md5.cpp:81:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp: In function ‘void MD5Update(MD5Context*, const unsigned char*, unsigned int)’: src/common/md5.cpp:191:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 191 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:200:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 200 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp: In function ‘void MD5Final(MD5Context*, unsigned char*)’: src/common/md5.cpp:235:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 235 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:246:10: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 246 | ((uint32_t*) ctx->in)[14] = ctx->bits[0]; | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:247:10: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 247 | ((uint32_t*) ctx->in)[15] = ctx->bits[1]; | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:249:32: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 249 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/mem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/mem.cpp.o src/common/mem.cpp -MP -MD -MT release-linux-riscv64/ufo/common/mem.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/mem.cpp:29: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/mem.cpp: In function ‘memBlockFoot_t* Mem_BlockToFooter(memBlock_t*)’: src/common/mem.cpp:177:16: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘memBlockFoot_t*’ increases required alignment of target type [-Wcast-align] 177 | return reinterpret_cast(reinterpret_cast(Mem_BlockToPtr(mem)) + mem->memSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/msg.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/msg.cpp.o src/common/msg.cpp -MP -MD -MT release-linux-riscv64/ufo/common/msg.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/msg.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/net.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/net.cpp.o src/common/net.cpp -MP -MD -MT release-linux-riscv64/ufo/common/net.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/net.cpp:29: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/net.cpp: In function ‘void NET_Wait(int)’: src/common/net.cpp:561:94: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 561 | const int len = sendto(s->socket, dgram->msg, dgram->len, 0, (struct sockaddr* )dgram->addr, s->addrlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:580:82: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 580 | const int len = recvfrom(s->socket, buf, sizeof(buf), 0, (struct sockaddr* )addrbuf, &addrlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:584:54: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 584 | s->func(s, buf, len, (struct sockaddr* )addrbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp: In function ‘const char* NET_StreamPeerToName(net_stream*, char*, int, bool)’: src/common/net.cpp:897:36: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 897 | if (getpeername(s->socket, (struct sockaddr* )buf, &addrlen) != 0) | ^~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:902:36: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 902 | const int rc = getnameinfo((struct sockaddr* )buf, addrlen, node, sizeof(node), service, sizeof(service), | ^~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp: In function ‘void NET_AddrinfoToString(const addrinfo*, char*, size_t)’: src/common/net.cpp:1240:36: warning: cast from ‘sockaddr*’ to ‘sockaddr_in*’ increases required alignment of target type [-Wcast-align] 1240 | char* service = inet_ntoa(((struct sockaddr_in *)addr->ai_addr)->sin_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/netpack.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/netpack.cpp.o src/common/netpack.cpp -MP -MD -MT release-linux-riscv64/ufo/common/netpack.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/netpack.cpp:25: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/netpack.cpp: In function ‘void NET_OOB_Printf(net_stream*, const char*, ...)’: src/common/netpack.cpp:557:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 557 | const char cmd = (const char)clc_oob; | ^~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/dbuffer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/dbuffer.cpp.o src/common/dbuffer.cpp -MP -MD -MT release-linux-riscv64/ufo/common/dbuffer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/dbuffer.cpp:25: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/pqueue.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/pqueue.cpp.o src/common/pqueue.cpp -MP -MD -MT release-linux-riscv64/ufo/common/pqueue.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/pqueue.cpp:17: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/scripts.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/scripts.cpp.o src/common/scripts.cpp -MP -MD -MT release-linux-riscv64/ufo/common/scripts.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/scripts.h:28, from src/common/scripts.cpp:26: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/scripts.cpp: In function ‘resultStatus_t Com_ParseValue(void*, const char*, valueTypes_t, int, size_t, size_t*)’: src/common/scripts.cpp:539:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 539 | *(int *) b = TEAM_CIVILIAN; | ^~~~~~~~~ src/common/scripts.cpp:541:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 541 | *(int *) b = TEAM_PHALANX; | ^~~~~~~~~ src/common/scripts.cpp:543:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 543 | *(int *) b = TEAM_ALIEN; | ^~~~~~~~~ src/common/scripts.cpp:551:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 551 | *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:553:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 553 | *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:555:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 555 | *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:557:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 557 | *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:559:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 559 | *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:561:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 561 | *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:563:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 563 | *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:565:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 565 | *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:573:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 573 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:575:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 575 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:577:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 577 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:579:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 579 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:581:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 581 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:583:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 583 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:585:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 585 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:587:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 587 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:589:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 589 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:591:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 591 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:599:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 599 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:601:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 601 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:603:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 603 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:605:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 605 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:607:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 607 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:609:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 609 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:611:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 611 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:613:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 613 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:615:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 615 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:617:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 617 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:624:43: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 624 | if (sscanf(token, "%i", &((int *) b)[0]) != 1) { | ^~~~~~~~~ src/common/scripts.cpp:625:55: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 625 | if (!Com_GetConstInt(token, &((int *) b)[0])) { | ^~~~~~~~~ src/common/scripts.cpp:634:46: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 634 | if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { | ^~~~~~~~~ src/common/scripts.cpp:634:63: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 634 | if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { | ^~~~~~~~~ src/common/scripts.cpp:642:43: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 642 | if (sscanf(token, "%f", &((float *) b)[0]) != 1) { | ^~~~~~~~~~~ src/common/scripts.cpp:650:46: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 650 | if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { | ^~~~~~~~~~~ src/common/scripts.cpp:650:65: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 650 | if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:49: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:68: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:87: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:667:36: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 667 | float* f = (float *) b; | ^~~~~~~~~~~ src/common/scripts.cpp:706:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘align_t*’ increases required alignment of target type [-Wcast-align] 706 | *(align_t *)b = (align_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:718:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘blend_t*’ increases required alignment of target type [-Wcast-align] 718 | *(blend_t *)b = (blend_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:730:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘style_t*’ increases required alignment of target type [-Wcast-align] 730 | *(style_t *)b = (style_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:742:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘fade_t*’ increases required alignment of target type [-Wcast-align] 742 | *(fade_t *)b = (fade_t)num; | ^~~~~~~~~~~ src/common/scripts.cpp:761:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 761 | *(uint32_t *) b |= ((1 << w) - 1) << x << (y * SHAPE_SMALL_MAX_WIDTH); | ^~~~~~~~~~~~~~ src/common/scripts.cpp:780:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 780 | ((uint32_t *) b)[y] |= w; | ^~~~~~~~~~~~~~ src/common/scripts.cpp:801:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘date_t*’ {aka ‘date_s*’} increases required alignment of target type [-Wcast-align] 801 | ((date_t *) b)->day = DAYS_PER_YEAR * x + y; | ^~~~~~~~~~~~ src/common/scripts.cpp:802:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘date_t*’ {aka ‘date_s*’} increases required alignment of target type [-Wcast-align] 802 | ((date_t *) b)->sec = SECONDS_PER_HOUR * w; | ^~~~~~~~~~~~ src/common/scripts.cpp:813:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 813 | *(float *) b = atof(token + 1) * (-1); | ^~~~~~~~~~~ src/common/scripts.cpp:815:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 815 | *(float *) b = atof(token + 1); | ^~~~~~~~~~~ src/common/scripts.cpp:821:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 821 | *(float *) b = atof(token); | ^~~~~~~~~~~ src/common/scripts.cpp: In function ‘int Com_SetValue(void*, const void*, valueTypes_t, int, size_t)’: src/common/scripts.cpp:931:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 931 | *(int *) b = TEAM_CIVILIAN; | ^~~~~~~~~ src/common/scripts.cpp:933:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 933 | *(int *) b = TEAM_PHALANX; | ^~~~~~~~~ src/common/scripts.cpp:935:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 935 | *(int *) b = TEAM_ALIEN; | ^~~~~~~~~ src/common/scripts.cpp:942:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 942 | *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:944:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 944 | *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:946:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 946 | *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:948:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 948 | *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:950:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 950 | *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:952:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 952 | *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:954:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 954 | *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:956:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 956 | *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:963:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 963 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:965:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 965 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:967:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 967 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:969:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 969 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:971:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 971 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:973:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 973 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:975:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 975 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:977:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 977 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:979:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 979 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:981:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 981 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:988:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 988 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:990:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 990 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:992:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 992 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:994:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 994 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:996:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 996 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:998:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 998 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1000:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1000 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1002:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1002 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1004:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1004 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1006:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1006 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1012:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1012 | *(int *) b = *(const int *) set; | ^~~~~~~~~ src/common/scripts.cpp:1016:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1016 | ((int *) b)[0] = ((const int *) set)[0]; | ^~~~~~~~~ src/common/scripts.cpp:1017:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1017 | ((int *) b)[1] = ((const int *) set)[1]; | ^~~~~~~~~ src/common/scripts.cpp:1021:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1021 | *(float *) b = *(const float *) set; | ^~~~~~~~~~~ src/common/scripts.cpp:1025:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1025 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1026:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1026 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1030:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1030 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1031:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1031 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1032:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1032 | ((float *) b)[2] = ((const float *) set)[2]; | ^~~~~~~~~~~ src/common/scripts.cpp:1036:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1036 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1037:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1037 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1038:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1038 | ((float *) b)[2] = ((const float *) set)[2]; | ^~~~~~~~~~~ src/common/scripts.cpp:1039:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1039 | ((float *) b)[3] = ((const float *) set)[3]; | ^~~~~~~~~~~ src/common/scripts.cpp:1055:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘align_t*’ increases required alignment of target type [-Wcast-align] 1055 | *(align_t *)b = *(const align_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1059:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘blend_t*’ increases required alignment of target type [-Wcast-align] 1059 | *(blend_t *)b = *(const blend_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1063:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘style_t*’ increases required alignment of target type [-Wcast-align] 1063 | *(style_t *)b = *(const style_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1067:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘fade_t*’ increases required alignment of target type [-Wcast-align] 1067 | *(fade_t *)b = *(const fade_t *) set; | ^~~~~~~~~~~ src/common/scripts.cpp:1071:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1071 | *(int *) b = *(const int *) set; | ^~~~~~~~~ src/common/scripts.cpp: In function ‘const char* Com_ValueToStr(const void*, valueTypes_t, int)’: src/common/scripts.cpp:1133:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1133 | switch (*(const int *) b) { | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1141:60: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1141 | Sys_Error("Unknown team id '%i'", *(const int *) b); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1145:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 1145 | switch (*(const humanAircraftType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1163:71: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 1163 | Sys_Error("Unknown aircrafttype type: '%i'", *(const humanAircraftType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1167:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1167 | switch (*(const ufoType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1189:62: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1189 | Sys_Error("Unknown ufo type: '%i'", *(const ufoType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1193:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1193 | switch (*(const ufoType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1215:70: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1215 | Sys_Error("Unknown crashed ufo type: '%i'", *(const ufoType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1219:64: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1219 | Com_sprintf(valuestr, sizeof(valuestr), "%i", *(const int *) b); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:67: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1223 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:89: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1223 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1227:66: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1227 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:71: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1231 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:95: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1231 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:76: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:100: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:124: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:81: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:105: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:129: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:153: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1252:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const align_t*’ increases required alignment of target type [-Wcast-align] 1252 | Q_strncpyz(valuestr, align_names[*(const align_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1257:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const blend_t*’ increases required alignment of target type [-Wcast-align] 1257 | Q_strncpyz(valuestr, blend_names[*(const blend_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1262:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const style_t*’ increases required alignment of target type [-Wcast-align] 1262 | Q_strncpyz(valuestr, style_names[*(const style_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1267:50: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const fade_t*’ increases required alignment of target type [-Wcast-align] 1267 | Q_strncpyz(valuestr, fade_names[*(const fade_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:70: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:113: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:156: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1284:22: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1284 | if (*(const float *) b > 2.0) | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1285:75: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1285 | Com_sprintf(valuestr, sizeof(valuestr), "+%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1287:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1287 | else if (*(const float *) b < 2.0) | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1288:75: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1288 | Com_sprintf(valuestr, sizeof(valuestr), "-%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1291:74: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1291 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/common/scripts.cpp:1323:5: required from here src/common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = linkedList_t*; value_t = value_s]’: src/common/scripts.cpp:1326:54: required from here src/common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘linkedList_t**’ increases required alignment of target type [-Wcast-align] src/common/scripts.cpp: In function ‘bool Com_ParseBlockToken(const char*, const char**, void*, const value_t*, memPool_t*, const char*)’: src/common/scripts.cpp:1318:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 1318 | if (*token == '_') | ^~ src/common/scripts.cpp:1322:25: note: here 1322 | case V_HUNK_STRING: | ^~~~ ===> CXX [ufo] src/common/sha1.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/sha1.cpp.o src/common/sha1.cpp -MP -MD -MT release-linux-riscv64/ufo/common/sha1.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/sha1.cpp:43: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/sha2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/sha2.cpp.o src/common/sha2.cpp -MP -MD -MT release-linux-riscv64/ufo/common/sha2.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/sha2.cpp:35: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/tracing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/tracing.cpp.o src/common/tracing.cpp -MP -MD -MT release-linux-riscv64/ufo/common/tracing.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/../shared/typedefs.h:5, from src/common/tracing.h:30, from src/common/tracing.cpp:29: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/common/routing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/routing.cpp.o src/common/routing.cpp -MP -MD -MT release-linux-riscv64/ufo/common/routing.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/routing.cpp:28: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/routing.cpp: In function ‘int RT_MicroTrace(RoutingData*, const place_t*, int, int, int, int, opening_t*)’: src/common/routing.cpp:1145:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1145 | if (bases[5] <= middle && /* same for the 2nd part of the passage */ | ^~ src/common/routing.cpp:1150:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1150 | return opening->base - middle; | ^~~~~~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:28: warning: ‘hi’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~^~~~~~~~~~~~~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1169:13: note: ‘hi’ declared here 1169 | int hi; /**< absolute ceiling of the passage found. */ | ^~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:39: warning: ‘opening.opening_s::base’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~~~~~~~^~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1341:19: note: ‘opening’ declared here 1341 | opening_t opening; /** the opening between the two cells */ | ^~~~~~~ ===> CXX [ufo] src/common/xml.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/common/xml.cpp.o src/common/xml.cpp -MP -MD -MT release-linux-riscv64/ufo/common/xml.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/common/xml.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_ccmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_ccmds.cpp.o src/server/sv_ccmds.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_ccmds.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_ccmds.cpp:31: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_game.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_game.cpp.o src/server/sv_game.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_game.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_game.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_init.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_init.cpp.o src/server/sv_init.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_init.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_init.cpp:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_log.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_log.cpp.o src/server/sv_log.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_log.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_log.cpp:28: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_main.cpp.o src/server/sv_main.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_main.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_main.cpp: In function ‘void SVC_DirectConnect(net_stream*)’: src/server/server.h:137:24: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘player_t*’ {aka ‘SrvPlayer*’} increases required alignment of target type [-Wcast-align] 137 | #define PLAYER_NUM(n) ((player_t*)((byte*)svs.ge->players + svs.ge->player_size * (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_main.cpp:498:29: note: in expansion of macro ‘PLAYER_NUM’ 498 | SrvPlayer *player = PLAYER_NUM(playernum); | ^~~~~~~~~~ src/server/sv_main.cpp: In function ‘void SV_Shutdown(const char*, bool)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_main.cpp:1049:9: note: in expansion of macro ‘OBJZERO’ 1049 | OBJZERO(*sv); | ^~~~~~~ src/server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/server/sv_mapcycle.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_mapcycle.cpp.o src/server/sv_mapcycle.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_mapcycle.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_mapcycle.cpp:1: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_rma.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_rma.cpp.o src/server/sv_rma.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_rma.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_rma.cpp:32: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_rma.cpp: In function ‘bool SV_AddMapTiles(MapInfo*)’: src/server/sv_rma.cpp:1672:74: warning: the address of ‘Assembly::id’ will never be NULL [-Waddress] 1672 | map->name, mAsm->id ? mAsm->id : ""); | ~~~~~~^~ In file included from src/server/sv_rma.cpp:33: src/server/sv_rma.h:71:14: note: ‘Assembly::id’ declared here 71 | char id[MAX_VAR]; /**< The id (string) of the assembly as defined in the ump file (next to "assembly"). */ | ^~ src/server/sv_rma.cpp:1675:74: warning: the address of ‘Assembly::id’ will never be NULL [-Waddress] 1675 | map->name, mAsm->id ? mAsm->id : ""); | ~~~~~~^~ src/server/sv_rma.h:71:14: note: ‘Assembly::id’ declared here 71 | char id[MAX_VAR]; /**< The id (string) of the assembly as defined in the ump file (next to "assembly"). */ | ^~ ===> CXX [ufo] src/server/sv_send.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_send.cpp.o src/server/sv_send.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_send.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_send.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_user.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_user.cpp.o src/server/sv_user.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_user.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_user.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/server/sv_world.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/server/sv_world.cpp.o src/server/sv_world.cpp -MP -MD -MT release-linux-riscv64/ufo/server/sv_world.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30, from src/server/server.h:31, from src/server/sv_world.cpp:29: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_world.cpp: In function ‘trace_t SV_Trace(const vec_t*, const AABB&, const vec_t*, const edict_t*, int)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘moveclip_t’ {aka ‘struct moveclip_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_world.cpp:463:9: note: in expansion of macro ‘OBJZERO’ 463 | OBJZERO(clip); | ^~~~~~~ src/server/sv_world.cpp:277:16: note: ‘moveclip_t’ {aka ‘struct moveclip_s’} declared here 277 | typedef struct moveclip_s { | ^~~~~~~~~~ src/server/sv_world.cpp: In function ‘void SV_ModLoadAliasMD2Model(sv_model_t*, const byte*)’: src/server/sv_world.cpp:526:34: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 526 | const dMD2Model_t* md2 = (const dMD2Model_t*)buffer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp:529:36: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 529 | const dMD2Frame_t* frame = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + mod->frame * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp: In function ‘void SV_ModLoadAliasMD3Model(sv_model_t*, const byte*)’: src/server/sv_world.cpp:553:29: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3_t*’ increases required alignment of target type [-Wcast-align] 553 | const dmd3_t* md3 = (const dmd3_t*)buffer; | ^~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp:554:36: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3frame_t*’ increases required alignment of target type [-Wcast-align] 554 | const dmd3frame_t* frame = (const dmd3frame_t*)((const byte*)md3 + LittleLong(md3->ofs_frames)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp: In function ‘bool SV_LoadModelAABB(const char*, int, AABB&)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘sv_model_t’ {aka ‘struct sv_model_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_world.cpp:648:9: note: in expansion of macro ‘OBJZERO’ 648 | OBJZERO(*mod); | ^~~~~~~ src/server/server.h:47:16: note: ‘sv_model_t’ {aka ‘struct sv_model_s’} declared here 47 | typedef struct sv_model_s { | ^~~~~~~~~~ In file included from src/server/../common/../shared/byte.h:30, from src/server/../common/common.h:29: src/server/sv_world.cpp:654:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 654 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/server/sv_world.cpp:654:17: note: in expansion of macro ‘LittleLong’ 654 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ ===> CXX [ufo] src/shared/bfd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/bfd.cpp.o src/shared/bfd.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/bfd.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/bfd.cpp:28: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/shared/byte.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/byte.cpp.o src/shared/byte.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/byte.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/byte.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/shared/mathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/mathlib.cpp.o src/shared/mathlib.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/mathlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/mathlib.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/mathlib.cpp: In function ‘void RotatePointAroundVector(vec_t*, const vec_t*, const vec_t*, float)’: src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/shared/mathlib_extra.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/mathlib_extra.cpp.o src/shared/mathlib_extra.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/mathlib_extra.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [ufo] src/shared/aabb.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/aabb.cpp.o src/shared/aabb.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/aabb.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [ufo] src/shared/utf8.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/utf8.cpp.o src/shared/utf8.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/utf8.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition ===> CXX [ufo] src/shared/images.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/images.cpp.o src/shared/images.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/images.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/shared.h:54, from src/shared/images.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/shared/stringhunk.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/stringhunk.cpp.o src/shared/stringhunk.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/stringhunk.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/stringhunk.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/shared/infostring.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/infostring.cpp.o src/shared/infostring.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/infostring.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/infostring.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/shared/parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/parse.cpp.o src/shared/parse.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/parse.h:31, from src/shared/parse.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/shared/shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/shared/shared.cpp.o src/shared/shared.cpp -MP -MD -MT release-linux-riscv64/ufo/shared/shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/shared/shared.h:54, from src/shared/shared.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/shared.cpp: In function ‘int Com_FilterAfterStar(const char*, const char*)’: src/shared/shared.cpp:108:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:108:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:109:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^ src/shared/shared.cpp:109:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^~ src/shared/shared.cpp: In function ‘int Com_Filter(const char*, const char*)’: src/shared/shared.cpp:147:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:147:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:148:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 148 | register char c; | ^ src/shared/shared.cpp:169:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | register char c1 = *t++; | ^~ src/shared/shared.cpp:181:55: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~~~ src/shared/shared.cpp:181:67: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~ ===> CXX [ufo] src/game/q_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/q_shared.cpp.o src/game/q_shared.cpp -MP -MD -MT release-linux-riscv64/ufo/game/q_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/q_shared.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/game/chr_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/chr_shared.cpp.o src/game/chr_shared.cpp -MP -MD -MT release-linux-riscv64/ufo/game/chr_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/chr_shared.cpp:26: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/chr_shared.cpp: In function ‘void CHRSH_CharGenAbilitySkills(character_t*, bool, const char*)’: src/game/chr_shared.cpp:208:97: warning: the address of ‘chrTemplate_s::id’ will never be NULL [-Waddress] 208 | for (chrTemplate = teamDef->characterTemplates[0]; chrTemplate->id; chrTemplate++) { | ~~~~~~~~~~~~~^~ In file included from src/game/q_shared.h:40: src/game/chr_shared.h:57:14: note: ‘chrTemplate_s::id’ declared here 57 | char id[MAX_VAR]; /** short name of the template */ | ^~ ===> CXX [ufo] src/game/inv_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/inv_shared.cpp.o src/game/inv_shared.cpp -MP -MD -MT release-linux-riscv64/ufo/game/inv_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/inv_shared.cpp:28: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/inv_shared.cpp: In member function ‘bool Item::isSameAs(const Item*) const’: src/game/inv_shared.cpp:551:9: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 551 | if (this == nullptr || other == nullptr) | ^~ ===> CXX [ufo] src/game/inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/inventory.cpp.o src/game/inventory.cpp -MP -MD -MT release-linux-riscv64/ufo/game/inventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/inventory.h:30, from src/game/inventory.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/inventory.cpp: In member function ‘void InventoryInterface::initInventory(const char*, const csi_t*, const inventoryImport_t*)’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class InventoryInterface’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/inventory.cpp:994:9: note: in expansion of macro ‘OBJZERO’ 994 | OBJZERO(*this); | ^~~~~~~ src/game/inventory.h:40:7: note: ‘class InventoryInterface’ declared here 40 | class InventoryInterface | ^~~~~~~~~~~~~~~~~~ src/game/inventory.cpp: In member function ‘void InventoryInterface::destroyInventoryInterface()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class InventoryInterface’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/inventory.cpp:1008:9: note: in expansion of macro ‘OBJZERO’ 1008 | OBJZERO(*this); | ^~~~~~~ src/game/inventory.h:40:7: note: ‘class InventoryInterface’ declared here 40 | class InventoryInterface | ^~~~~~~~~~~~~~~~~~ ===> CC [ufo] src/libs/mumble/libmumblelink.c "cc" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -std=c99 -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/libs/mumble/libmumblelink.c.o src/libs/mumble/libmumblelink.c -MP -MD -MT release-linux-riscv64/ufo/libs/mumble/libmumblelink.c.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/features.h:502, from /usr/include/fcntl.h:25, from src/libs/mumble/libmumblelink.c:23: In function ‘mbstowcs’, inlined from ‘mumble_link’ at src/libs/mumble/libmumblelink.c:115:2: /usr/include/riscv64-linux-gnu/bits/stdlib.h:123:12: warning: call to ‘__mbstowcs_chk_warn’ declared with attribute warning: mbstowcs called with dst buffer smaller than len * sizeof (wchar_t) [-Wattribute-warning] 123 | return __glibc_fortify_n (mbstowcs, __len, sizeof (wchar_t), | ^~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/ports/linux/linux_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/ports/linux/linux_main.cpp.o src/ports/linux/linux_main.cpp -MP -MD -MT release-linux-riscv64/ufo/ports/linux/linux_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/linux/../../common/../shared/shared.h:54, from src/ports/linux/../../common/common.h:30, from src/ports/linux/linux_main.cpp:29: src/ports/linux/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/linux/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/linux/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/linux/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/ports/unix/unix_console.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/ports/unix/unix_console.cpp.o src/ports/unix/unix_console.cpp -MP -MD -MT release-linux-riscv64/ufo/ports/unix/unix_console.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_console.cpp:26: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_console.cpp: In function ‘void Sys_TTYConsoleShow()’: src/ports/unix/unix_console.cpp:106:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 106 | write(STDOUT_FILENO, "]", 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:110:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | write(STDOUT_FILENO, ttyConsoleHistory.buffer + i, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp: In function ‘void Sys_TTYDeleteCharacter()’: src/ports/unix/unix_console.cpp:79:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 79 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:81:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:83:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp: In function ‘const char* Sys_ConsoleInput()’: src/ports/unix/unix_console.cpp:300:46: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 300 | write(1, &key, 1); | ~~~~~^~~~~~~~~~~~ src/ports/unix/unix_console.cpp:301:46: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | write(1, "]", 1); | ~~~~~^~~~~~~~~~~ src/ports/unix/unix_console.cpp:360:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 360 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/ports/unix/unix_files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/ports/unix/unix_files.cpp.o src/ports/unix/unix_files.cpp -MP -MD -MT release-linux-riscv64/ufo/ports/unix/unix_files.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_files.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/ports/unix/unix_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/ports/unix/unix_shared.cpp.o src/ports/unix/unix_shared.cpp -MP -MD -MT release-linux-riscv64/ufo/ports/unix/unix_shared.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_shared.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_shared.cpp: In function ‘void Sys_OpenURL(const char*)’: src/ports/unix/unix_shared.cpp:205:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | system(buf); | ~~~~~~^~~~~ ===> CXX [ufo] src/ports/unix/unix_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/ports/unix/unix_main.cpp.o src/ports/unix/unix_main.cpp -MP -MD -MT release-linux-riscv64/ufo/ports/unix/unix_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_main.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/game/g_actor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_actor.cpp.o src/game/g_actor.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_actor.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_actor.h:27, from src/game/g_actor.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_ai.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_ai.cpp.o src/game/g_ai.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_ai.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_ai.h:28, from src/game/g_ai.cpp:26: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_ai_lua.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_ai_lua.cpp.o src/game/g_ai_lua.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_ai_lua.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_ai_lua.cpp:35: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_camera.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_camera.cpp.o src/game/g_camera.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_camera.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_camera.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_client.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_client.cpp.o src/game/g_client.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_client.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_client.h:29, from src/game/g_client.cpp:40: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_cmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_cmds.cpp.o src/game/g_cmds.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_cmds.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_cmds.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_combat.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_combat.cpp.o src/game/g_combat.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_combat.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_combat.h:28, from src/game/g_combat.cpp:26: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_edicts.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_edicts.cpp.o src/game/g_edicts.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_edicts.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_edicts.h:31, from src/game/g_edicts.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_edicts.cpp: In function ‘Edict* G_EdictDuplicate(const Edict*)’: src/game/g_edicts.cpp:134:15: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Edict’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memcpy(duplicate, edict, sizeof(*edict)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_events.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_events.cpp.o src/game/g_events.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_events.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_events.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_func.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_func.cpp.o src/game/g_func.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_func.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_func.h:31, from src/game/g_func.cpp:30: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_health.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_health.cpp.o src/game/g_health.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_health.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_health.h:27, from src/game/g_health.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_inventory.cpp.o src/game/g_inventory.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_inventory.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_inventory.h:27, from src/game/g_inventory.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_main.cpp.o src/game/g_main.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_main.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_main.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_match.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_match.cpp.o src/game/g_match.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_match.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_match.cpp:27: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_mission.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_mission.cpp.o src/game/g_mission.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_mission.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_mission.h:31, from src/game/g_mission.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_mission.cpp: In function ‘bool G_MissionTouch(Edict*, Edict*)’: src/game/g_mission.cpp:65:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 65 | self->count = 0; | ~~~~~~~~~~~~^~~ src/game/g_mission.cpp:68:9: note: here 68 | default: | ^~~~~~~ ===> CXX [ufo] src/game/g_morale.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_morale.cpp.o src/game/g_morale.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_morale.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_morale.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_move.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_move.cpp.o src/game/g_move.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_move.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_move.h:27, from src/game/g_move.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_reaction.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_reaction.cpp.o src/game/g_reaction.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_reaction.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_reaction.h:29, from src/game/g_reaction.cpp:74: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_round.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_round.cpp.o src/game/g_round.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_round.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_round.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_spawn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_spawn.cpp.o src/game/g_spawn.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_spawn.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_spawn.h:31, from src/game/g_spawn.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_stats.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_stats.cpp.o src/game/g_stats.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_stats.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_stats.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_svcmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_svcmds.cpp.o src/game/g_svcmds.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_svcmds.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_svcmds.cpp:30: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_svcmds.cpp: In function ‘bool StringToFilter(const char*, ipfilter_t*)’: src/game/g_svcmds.cpp:101:20: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 101 | f->mask = *(unsigned *) m; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp:102:23: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 102 | f->compare = *(unsigned *) b; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘bool SV_FilterPacket(const char*)’: src/game/g_svcmds.cpp:127:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 127 | in = *(unsigned *) m; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘void SVCmd_ListIP_f()’: src/game/g_svcmds.cpp:201:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 201 | *(unsigned *) b = ipfilters[i].compare; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘void SVCmd_WriteIP_f()’: src/game/g_svcmds.cpp:229:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 229 | *(unsigned *) b = ipfilters[i].compare; | ^~~~~~~~~~~~~~ ===> CXX [ufo] src/game/g_trigger.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_trigger.cpp.o src/game/g_trigger.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_trigger.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_trigger.h:31, from src/game/g_trigger.cpp:30: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_utils.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_utils.cpp.o src/game/g_utils.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_utils.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_utils.h:31, from src/game/g_utils.cpp:29: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/g_vis.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/g_vis.cpp.o src/game/g_vis.cpp -MP -MD -MT release-linux-riscv64/ufo/game/g_vis.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34, from src/game/g_local.h:31, from src/game/g_vis.cpp:25: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufo] src/game/lua/lapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lapi.cpp.o src/game/lua/lapi.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lapi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lapi.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lauxlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lauxlib.cpp.o src/game/lua/lauxlib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lauxlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lauxlib.cpp:23: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lbaselib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lbaselib.cpp.o src/game/lua/lbaselib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lbaselib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lbaselib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lcode.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lcode.cpp.o src/game/lua/lcode.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lcode.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lcode.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/lcode.cpp: In function ‘void luaK_goiftrue(FuncState*, expdesc*)’: src/game/lua/lcode.cpp:553:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 553 | if (!hasjumps(e)) { | ^~ src/game/lua/lcode.cpp:559:5: note: here 559 | default: { | ^~~~~~~ src/game/lua/lcode.cpp: In function ‘void luaK_goiffalse(FuncState*, expdesc*)’: src/game/lua/lcode.cpp:583:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 583 | if (!hasjumps(e)) { | ^~ src/game/lua/lcode.cpp:589:5: note: here 589 | default: { | ^~~~~~~ ===> CXX [ufo] src/game/lua/ldblib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/ldblib.cpp.o src/game/lua/ldblib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/ldblib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldblib.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/ldebug.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/ldebug.cpp.o src/game/lua/ldebug.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/ldebug.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldebug.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/ldebug.cpp:21: src/game/lua/ldebug.cpp: In function ‘void luaG_errormsg(lua_State*)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldebug.cpp:620:21: note: in expansion of macro ‘restorestack’ 620 | StkId errfunc = restorestack(L, L->errfunc); | ^~~~~~~~~~~~ src/game/lua/ldebug.cpp: In function ‘Instruction symbexec(const Proto*, int, int)’: src/game/lua/ldebug.cpp:268:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | #define check(x) if (!(x)) return 0; | ^~ src/game/lua/ldebug.cpp:272:33: note: in expansion of macro ‘check’ 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) | ^~~~~ src/game/lua/ldebug.cpp:414:9: note: in expansion of macro ‘checkreg’ 414 | checkreg(pt, a+3); | ^~~~~~~~ src/game/lua/ldebug.cpp:416:7: note: here 416 | case OP_JMP: { | ^~~~ ===> CXX [ufo] src/game/lua/ldo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/ldo.cpp.o src/game/lua/ldo.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/ldo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldo.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/ldo.cpp:18: src/game/lua/ldo.cpp: In function ‘void luaD_callhook(lua_State*, int, int)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:202:18: note: in expansion of macro ‘restorestack’ 202 | L->ci->top = restorestack(L, ci_top); | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:203:14: note: in expansion of macro ‘restorestack’ 203 | L->top = restorestack(L, top); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘TValue* tryfuncTM(lua_State*, StkId)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:252:10: note: in expansion of macro ‘restorestack’ 252 | func = restorestack(L, funcr); /* previous call may change stack */ | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘int luaD_precall(lua_State*, StkId, int)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:277:12: note: in expansion of macro ‘restorestack’ 277 | func = restorestack(L, funcr); | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:286:14: note: in expansion of macro ‘restorestack’ 286 | func = restorestack(L, funcr); /* previous call may change the stack */ | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:311:16: note: in expansion of macro ‘restorestack’ 311 | ci->func = restorestack(L, funcr); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘TValue* callrethooks(lua_State*, StkId)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:338:10: note: in expansion of macro ‘restorestack’ 338 | return restorestack(L, fr); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘int luaD_pcall(lua_State*, Pfunc, void*, ptrdiff_t, ptrdiff_t)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:465:20: note: in expansion of macro ‘restorestack’ 465 | StkId oldtop = restorestack(L, old_top); | ^~~~~~~~~~~~ src/game/lua/ldo.h:28:34: warning: cast from ‘char*’ to ‘CallInfo*’ increases required alignment of target type [-Wcast-align] 28 | #define restoreci(L,n) ((CallInfo *)((char*)L->base_ci + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:469:13: note: in expansion of macro ‘restoreci’ 469 | L->ci = restoreci(L, old_ci); | ^~~~~~~~~ ===> CXX [ufo] src/game/lua/ldump.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/ldump.cpp.o src/game/lua/ldump.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/ldump.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldump.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ldump.cpp: In function ‘void DumpString(const TString*, DumpState*)’: src/game/lua/ldump.cpp:63:29: warning: comparing the result of pointer addition ‘(s + 24)’ and NULL [-Waddress] 63 | if (s==nullptr || getstr(s)==nullptr) ===> CXX [ufo] src/game/lua/lfunc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lfunc.cpp.o src/game/lua/lfunc.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lfunc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lfunc.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lgc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lgc.cpp.o src/game/lua/lgc.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lgc.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lgc.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/linit.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/linit.cpp.o src/game/lua/linit.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/linit.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/linit.cpp:11: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/liolib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/liolib.cpp.o src/game/lua/liolib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/liolib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/liolib.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/llex.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/llex.cpp.o src/game/lua/llex.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/llex.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/llex.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/llex.cpp: In function ‘int llex(LexState*, SemInfo*)’: src/game/lua/llex.cpp:375:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 375 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/llex.cpp:377:7: note: here 377 | case '=': { | ^~~~ ===> CXX [ufo] src/game/lua/lmathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lmathlib.cpp.o src/game/lua/lmathlib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lmathlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lmathlib.cpp:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lmem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lmem.cpp.o src/game/lua/lmem.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lmem.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lmem.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/loadlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/loadlib.cpp.o src/game/lua/loadlib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/loadlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/loadlib.cpp:19: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lobject.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lobject.cpp.o src/game/lua/lobject.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lobject.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lobject.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lopcodes.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lopcodes.cpp.o src/game/lua/lopcodes.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lopcodes.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/llimits.h:15, from src/game/lua/lopcodes.h:10, from src/game/lua/lopcodes.cpp:11: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/loslib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/loslib.cpp.o src/game/lua/loslib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/loslib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/loslib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lparser.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lparser.cpp.o src/game/lua/lparser.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lparser.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lparser.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lstate.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lstate.cpp.o src/game/lua/lstate.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lstate.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstate.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/lobject.h:15, from src/game/lua/lstate.h:12, from src/game/lua/ldebug.h:11, from src/game/lua/lstate.cpp:15: src/game/lua/lstate.cpp: In function ‘lua_State* luaE_newthread(lua_State*)’: src/game/lua/llimits.h:75:26: warning: cast from ‘lu_byte*’ {aka ‘unsigned char*’} to ‘lua_State*’ increases required alignment of target type [-Wcast-align] 75 | #define cast(t, exp) ((t)(exp)) | ^~~~~~~~ src/game/lua/lstate.cpp:29:23: note: in expansion of macro ‘cast’ 29 | #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) | ^~~~ src/game/lua/lstate.cpp:120:19: note: in expansion of macro ‘tostate’ 120 | lua_State *L1 = tostate(luaM_malloc(L, state_size(lua_State))); | ^~~~~~~ src/game/lua/lstate.cpp: In function ‘lua_State* lua_newstate(lua_Alloc, void*)’: src/game/lua/llimits.h:75:26: warning: cast from ‘lu_byte*’ {aka ‘unsigned char*’} to ‘lua_State*’ increases required alignment of target type [-Wcast-align] 75 | #define cast(t, exp) ((t)(exp)) | ^~~~~~~~ src/game/lua/lstate.cpp:29:23: note: in expansion of macro ‘cast’ 29 | #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) | ^~~~ src/game/lua/lstate.cpp:149:7: note: in expansion of macro ‘tostate’ 149 | L = tostate(l); | ^~~~~~~ ===> CXX [ufo] src/game/lua/lstring.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lstring.cpp.o src/game/lua/lstring.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lstring.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstring.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lstrlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lstrlib.cpp.o src/game/lua/lstrlib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lstrlib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstrlib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/ltable.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/ltable.cpp.o src/game/lua/ltable.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/ltable.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltable.cpp:27: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ltable.cpp: In function ‘TValue* luaH_get(Table*, const TValue*)’: src/game/lua/ltable.cpp:480:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 480 | } | ^ src/game/lua/ltable.cpp:481:5: note: here 481 | default: { | ^~~~~~~ ===> CXX [ufo] src/game/lua/ltablib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/ltablib.cpp.o src/game/lua/ltablib.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/ltablib.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltablib.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ltablib.cpp: In function ‘void addfield(lua_State*, luaL_Buffer*, int)’: src/game/lua/ltablib.cpp:137:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 137 | if (!lua_isstring(L, -1)) | ^~ src/game/lua/ltablib.cpp:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 140 | luaL_addvalue(b); | ^~~~~~~~~~~~~ ===> CXX [ufo] src/game/lua/ltm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/ltm.cpp.o src/game/lua/ltm.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/ltm.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltm.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lundump.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lundump.cpp.o src/game/lua/lundump.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lundump.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lundump.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/lvm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lvm.cpp.o src/game/lua/lvm.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lvm.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lvm.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/lvm.cpp:18: src/game/lua/lvm.cpp: In function ‘void callTMres(lua_State*, StkId, const TValue*, const TValue*, const TValue*)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/lvm.cpp:89:9: note: in expansion of macro ‘restorestack’ 89 | res = restorestack(L, result); | ^~~~~~~~~~~~ ===> CXX [ufo] src/game/lua/lzio.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/lzio.cpp.o src/game/lua/lzio.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/lzio.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lzio.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/game/lua/print.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/game/lua/print.cpp.o src/game/lua/print.cpp -MP -MD -MT release-linux-riscv64/ufo/game/lua/print.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstate.h:10, from src/game/lua/ldebug.h:11, from src/game/lua/print.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufo] src/client/cgame/campaign/aliencargo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/aliencargo.cpp.o src/client/cgame/campaign/aliencargo.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/aliencargo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/../cl_game.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.h:26, from src/client/cgame/campaign/aliencargo.h:27, from src/client/cgame/campaign/aliencargo.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/aliencontainment.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/aliencontainment.cpp.o src/client/cgame/campaign/aliencontainment.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/aliencontainment.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/../cl_game.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.h:26, from src/client/cgame/campaign/aliencargo.h:27, from src/client/cgame/campaign/aliencontainment.h:27, from src/client/cgame/campaign/aliencontainment.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cl_game_campaign.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cl_game_campaign.cpp.o src/client/cgame/campaign/cl_game_campaign.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cl_game_campaign.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cl_game_campaign.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_aircraft.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_aircraft.cpp.o src/client/cgame/campaign/cp_aircraft.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_aircraft.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft.cpp:29: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_aircraft_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_aircraft_callbacks.cpp.o src/client/cgame/campaign/cp_aircraft_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_aircraft_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_airfight.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_airfight.cpp.o src/client/cgame/campaign/cp_airfight.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_airfight.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_airfight.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_alien_interest.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_alien_interest.cpp.o src/client/cgame/campaign/cp_alien_interest.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_alien_interest.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alien_interest.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_alienbase.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_alienbase.cpp.o src/client/cgame/campaign/cp_alienbase.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_alienbase.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alienbase.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_aliencont.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_aliencont.cpp.o src/client/cgame/campaign/cp_aliencont.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_aliencont.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_aliencont_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_aliencont_callbacks.cpp.o src/client/cgame/campaign/cp_aliencont_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_aliencont_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont_callbacks.cpp:32: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_auto_mission.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_auto_mission.cpp.o src/client/cgame/campaign/cp_auto_mission.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_auto_mission.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_auto_mission.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_base.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_base.cpp.o src/client/cgame/campaign/cp_base.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_base.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_base_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_base_callbacks.cpp.o src/client/cgame/campaign/cp_base_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_base_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_basedefence_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_basedefence_callbacks.cpp.o src/client/cgame/campaign/cp_basedefence_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_basedefence_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_basedefence_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_building.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_building.cpp.o src/client/cgame/campaign/cp_building.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_building.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../shared/shared.h:54, from src/client/cgame/campaign/cp_building.h:27, from src/client/cgame/campaign/cp_building.cpp:25: src/client/cgame/campaign/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_campaign.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_campaign.cpp.o src/client/cgame/campaign/cp_campaign.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_campaign.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_campaign.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_campaign.cpp: In function ‘void CP_ParseCharacterData(dbuffer*, linkedList_t**)’: src/client/cgame/campaign/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct updateCharacter_t’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/campaign/cp_campaign.cpp:192:17: note: in expansion of macro ‘OBJZERO’ 192 | OBJZERO(c); | ^~~~~~~ src/client/cgame/campaign/cp_campaign.cpp:64:16: note: ‘struct updateCharacter_t’ declared here 64 | typedef struct { | ^ src/client/cgame/campaign/cp_campaign.cpp: In function ‘void CP_ResetCampaignData()’: src/client/cgame/campaign/../../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘ccs_t’ {aka ‘struct ccs_s’} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/cgame/campaign/cp_campaign.cpp:1305:9: note: in expansion of macro ‘OBJZERO’ 1305 | OBJZERO(ccs); | ^~~~~~~ In file included from src/client/cgame/campaign/cp_campaign.cpp:28: src/client/cgame/campaign/cp_campaign.h:400:16: note: ‘ccs_t’ {aka ‘struct ccs_s’} declared here 400 | typedef struct ccs_s { | ^~~~~ ===> CXX [ufo] src/client/cgame/campaign/cp_capacity.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_capacity.cpp.o src/client/cgame/campaign/cp_capacity.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_capacity.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_capacity.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_cgame_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_cgame_callbacks.cpp.o src/client/cgame/campaign/cp_cgame_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_cgame_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_employee.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_employee.cpp.o src/client/cgame/campaign/cp_employee.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_employee.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_employee_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_employee_callbacks.cpp.o src/client/cgame/campaign/cp_employee_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_employee_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_event.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_event.cpp.o src/client/cgame/campaign/cp_event.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_event.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/campaign/../../../common/common.h:34: src/client/cgame/campaign/cp_event.cpp: In function ‘void CL_ParseCampaignEvents(const char*, const char**)’: src/client/cgame/campaign/cp_event.cpp:498:41: warning: cast from ‘char*’ to ‘char**’ increases required alignment of target type [-Wcast-align] 498 | Mem_PoolStrDupTo(token, (char**) ((char*)event + (int)offsetof(campaignEvent_t, tech)), cp_campaignPool, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../../common/mem.h:48:89: note: in definition of macro ‘Mem_PoolStrDupTo’ 48 | #define Mem_PoolStrDupTo(in,out,pool,tagNum) _Mem_PoolStrDupTo((in),(out),(pool),(tagNum),__FILE__,__LINE__) | ^~~ ===> CXX [ufo] src/client/cgame/campaign/cp_event_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_event_callbacks.cpp.o src/client/cgame/campaign/cp_event_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_event_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_fightequip_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_fightequip_callbacks.cpp.o src/client/cgame/campaign/cp_fightequip_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_fightequip_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_fightequip_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_geoscape.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_geoscape.cpp.o src/client/cgame/campaign/cp_geoscape.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_geoscape.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_geoscape.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_Click(const uiNode_t*, int, int, const vec_t*)’: src/client/cgame/campaign/cp_geoscape.cpp:303:34: warning: the address of ‘mission_s::pos’ will never be NULL [-Waddress] 303 | if (tempMission->pos && GEO_IsPositionSelected(node, tempMission->pos, x, y)) | ~~~~~~~~~~~~~^~~ In file included from src/client/cgame/campaign/cp_geoscape.cpp:29: src/client/cgame/campaign/cp_campaign.h:266:16: note: ‘mission_s::pos’ declared here 266 | vec2_t pos; /**< Position of the mission */ | ^~~ In file included from src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:27, from src/client/cgame/campaign/cp_geoscape.cpp:27: src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_3DMapToScreen(const uiNode_t*, const vec_t*, int*, int*, int*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:69:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 69 | #define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:385:30: note: in expansion of macro ‘GLOBE_RADIUS’ 385 | const float radius = GLOBE_RADIUS; | ^~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:392:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 392 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_MapToScreen(const uiNode_t*, const vec_t*, int*, int*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:433:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 433 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘bool GEO_AllMapToScreen(const uiNode_t*, const vec_t*, int*, int*, int*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:464:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 464 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_Draw3DMarkerIfVisible(const uiNode_t*, const vec_t*, float, const char*, int)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:503:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 503 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:69:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 69 | #define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:513:93: note: in expansion of macro ‘GLOBE_RADIUS’ 513 | cgi->R_Draw3DMapMarkers(data.mapPos, data.mapSize, data.angles, pos, theta, GLOBE_RADIUS, model, skin); | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_MapDrawLine(const uiNode_t*, const mapline_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:620:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 620 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_MapDrawEquidistantPoints(const uiNode_t*, const vec_t*, float, const vec_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:711:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 711 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘float GEO_AngleOfPath(const vec_t*, const vec_t*, vec_t*, vec_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:875:38: note: in expansion of macro ‘UI_MAPEXTRADATA’ 875 | const mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_StartCenter(uiNode_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:931:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 931 | mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_CenterPosition(const vec_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:968:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 968 | mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_SelectObject_f()’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘mapExtraData_t*’ {aka ‘mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:52:31: note: in expansion of macro ‘UI_EXTRADATA’ 52 | #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:996:32: note: in expansion of macro ‘UI_MAPEXTRADATA’ 996 | mapExtraData_t &data = UI_MAPEXTRADATA(node); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOneMission(const uiNode_t*, const mission_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1200:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1200 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1211:82: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1211 | GEO_MapDrawEquidistantPoints(node, mission->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOneInstallation(const uiNode_t*, const installation_t*, bool, const char*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1308:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1308 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOneBase(const uiNode_t*, const base_t*, bool, const char*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1355:14: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1355 | if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawAircraftHealthBar(const uiNode_t*, const aircraft_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1381:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1381 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMapOnePhalanxAircraft(const uiNode_t*, aircraft_t*, bool)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1432:38: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1432 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1460:75: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1460 | GEO_MapDrawEquidistantPoints(node, aircraft->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1469:99: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1469 | GEO_MapDrawEquidistantPoints(node, aircraft->aircraftTarget->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_DrawMarkers(const uiNode_t*)’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1644:54: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1644 | const mapExtraData_t &data = UI_MAPEXTRADATACONST(node); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1647:78: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1647 | GEO_MapDrawEquidistantPoints(node, ufo->pos, SELECT_CIRCLE_RADIUS, white); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const mapExtraData_t*’ {aka ‘const mapExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_geoscape.h:53:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 53 | #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1182:47: note: in expansion of macro ‘UI_MAPEXTRADATACONST’ 1182 | #define SELECT_CIRCLE_RADIUS 1.5f + 3.0f / UI_MAPEXTRADATACONST(node).zoom | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp:1651:86: note: in expansion of macro ‘SELECT_CIRCLE_RADIUS’ 1651 | GEO_MapDrawEquidistantPoints(node, ufo->pos, SELECT_CIRCLE_RADIUS, yellow); | ^~~~~~~~~~~~~~~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/mathlib.h:113, from src/client/cgame/campaign/../../../common/common.h:31: In function ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’, inlined from ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:887:13, inlined from ‘void GEO_CenterPosition(const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:976:45, inlined from ‘void GEO_CenterOnPoint_f()’ at src/client/cgame/campaign/cp_geoscape.cpp:1137:20: src/client/cgame/campaign/../../../common/../shared/vector.h:59:40: warning: ‘pos[0]’ may be used uninitialized [-Wmaybe-uninitialized] 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ~~~~~~^~~~ src/client/cgame/campaign/cp_geoscape.cpp:892:17: note: in expansion of macro ‘VectorSet’ 892 | VectorSet(vector, objectPos[0], -objectPos[1], 0); | ^~~~~~~~~ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_CenterOnPoint_f()’: src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[0]’ was declared here 1135 | vec2_t pos; | ^~~ In function ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’, inlined from ‘void GEO_ConvertObjectPositionToGeoscapePosition(bool, float*, const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:887:13, inlined from ‘void GEO_CenterPosition(const vec_t*)’ at src/client/cgame/campaign/cp_geoscape.cpp:976:45, inlined from ‘void GEO_CenterOnPoint_f()’ at src/client/cgame/campaign/cp_geoscape.cpp:1137:20: src/client/cgame/campaign/cp_geoscape.cpp:892:49: warning: ‘pos[1]’ may be used uninitialized [-Wmaybe-uninitialized] 892 | VectorSet(vector, objectPos[0], -objectPos[1], 0); src/client/cgame/campaign/../../../common/../shared/vector.h:59:54: note: in definition of macro ‘VectorSet’ 59 | #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) | ^ src/client/cgame/campaign/cp_geoscape.cpp: In function ‘void GEO_CenterOnPoint_f()’: src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[1]’ was declared here 1135 | vec2_t pos; | ^~~ ===> CXX [ufo] src/client/cgame/campaign/cp_hospital.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_hospital.cpp.o src/client/cgame/campaign/cp_hospital.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_hospital.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_hospital_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_hospital_callbacks.cpp.o src/client/cgame/campaign/cp_hospital_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_hospital_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_installation.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_installation.cpp.o src/client/cgame/campaign/cp_installation.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_installation.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_installation_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_installation_callbacks.cpp.o src/client/cgame/campaign/cp_installation_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_installation_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_mapfightequip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_mapfightequip.cpp.o src/client/cgame/campaign/cp_mapfightequip.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_mapfightequip.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mapfightequip.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_market.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_market.cpp.o src/client/cgame/campaign/cp_market.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_market.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_market_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_market_callbacks.cpp.o src/client/cgame/campaign/cp_market_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_market_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market_callbacks.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_market_callbacks.cpp: In function ‘void BS_FillMarket_f()’: src/client/cgame/campaign/cp_market_callbacks.cpp:399:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 399 | } | ^ src/client/cgame/campaign/cp_market_callbacks.cpp:401:9: note: here 401 | case FILTER_S_PRIMARY: | ^~~~ ===> CXX [ufo] src/client/cgame/campaign/cp_messageoptions.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_messageoptions.cpp.o src/client/cgame/campaign/cp_messageoptions.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_messageoptions.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_messageoptions_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_messageoptions_callbacks.cpp.o src/client/cgame/campaign/cp_messageoptions_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_messageoptions_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/campaign/../../ui/ui_data.h:31, from src/client/cgame/campaign/../../ui/ui_main.h:27, from src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:28: src/client/cgame/campaign/cp_messageoptions_callbacks.cpp: In function ‘void MSO_UpdateVisibleButtons()’: src/client/cgame/campaign/../../ui/ui_nodes.h:147:48: warning: cast from ‘const char*’ to ‘const optionExtraData_t*’ {aka ‘const optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 147 | #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/ui_nodes.h:148:41: note: in expansion of macro ‘UI_EXTRADATACONST_POINTER’ 148 | #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_option.h:41:36: note: in expansion of macro ‘UI_EXTRADATACONST’ 41 | #define OPTIONEXTRADATACONST(node) UI_EXTRADATACONST(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:92:28: note: in expansion of macro ‘OPTIONEXTRADATACONST’ 92 | idx = atoi(OPTIONEXTRADATACONST(option).value); | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_messageoptions_callbacks.cpp: In function ‘void MSO_Toggle_f()’: src/client/cgame/campaign/../../ui/ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:171:28: note: in expansion of macro ‘OPTIONEXTRADATA’ 171 | idx = atoi(OPTIONEXTRADATA(iterator.option).value); | ^~~~~~~~~~~~~~~ ===> CXX [ufo] src/client/cgame/campaign/cp_messages.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_messages.cpp.o src/client/cgame/campaign/cp_messages.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_messages.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messages.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_mission_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_mission_callbacks.cpp.o src/client/cgame/campaign/cp_mission_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_mission_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_callbacks.cpp:28: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_mission_triggers.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_mission_triggers.cpp.o src/client/cgame/campaign/cp_mission_triggers.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_mission_triggers.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_triggers.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_missions.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_missions.cpp.o src/client/cgame/campaign/cp_missions.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_missions.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_missions.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_nation.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_nation.cpp.o src/client/cgame/campaign/cp_nation.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_nation.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_nation.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_overlay.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_overlay.cpp.o src/client/cgame/campaign/cp_overlay.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_overlay.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_overlay.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_parse.cpp.o src/client/cgame/campaign/cp_parse.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_parse.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_parse.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_popup.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_popup.cpp.o src/client/cgame/campaign/cp_popup.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_popup.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_popup.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_popup.cpp: In function ‘void CL_DisplayPopupAircraft(aircraft_t*)’: src/client/cgame/campaign/cp_popup.cpp:235:42: warning: the address of ‘mission_s::pos’ will never be NULL [-Waddress] 235 | if (tempMission->pos) { | ~~~~~~~~~~~~~^~~ In file included from src/client/cgame/campaign/cp_popup.cpp:26: src/client/cgame/campaign/cp_campaign.h:266:16: note: ‘mission_s::pos’ declared here 266 | vec2_t pos; /**< Position of the mission */ | ^~~ ===> CXX [ufo] src/client/cgame/campaign/cp_produce.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_produce.cpp.o src/client/cgame/campaign/cp_produce.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_produce.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_produce_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_produce_callbacks.cpp.o src/client/cgame/campaign/cp_produce_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_produce_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_radar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_radar.cpp.o src/client/cgame/campaign/cp_radar.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_radar.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_radar.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_rank.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_rank.cpp.o src/client/cgame/campaign/cp_rank.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_rank.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_rank.cpp:24: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_research.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_research.cpp.o src/client/cgame/campaign/cp_research.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_research.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research.cpp:31: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/cp_research.cpp: In function ‘bool RS_ScriptSanityCheck()’: src/client/cgame/campaign/cp_research.cpp:1915:103: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 1915 | Com_Printf("...... technology '%s' has a strange 'description' value '%s'.\n", t->id, t->description.text[0]); | ^~ ===> CXX [ufo] src/client/cgame/campaign/cp_research_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_research_callbacks.cpp.o src/client/cgame/campaign/cp_research_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_research_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research_callbacks.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_save.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_save.cpp.o src/client/cgame/campaign/cp_save.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_save.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_save.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_statistics.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_statistics.cpp.o src/client/cgame/campaign/cp_statistics.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_statistics.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_statistics.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_team.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_team.cpp.o src/client/cgame/campaign/cp_team.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_team.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_team_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_team_callbacks.cpp.o src/client/cgame/campaign/cp_team_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_team_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_time.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_time.cpp.o src/client/cgame/campaign/cp_time.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_time.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_time.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_transfer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_transfer.cpp.o src/client/cgame/campaign/cp_transfer.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_transfer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer.cpp:28: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_transfer_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_transfer_callbacks.cpp.o src/client/cgame/campaign/cp_transfer_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_transfer_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer_callbacks.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_ufo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_ufo.cpp.o src/client/cgame/campaign/cp_ufo.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_ufo.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufo.cpp:25: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_ufopedia.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_ufopedia.cpp.o src/client/cgame/campaign/cp_ufopedia.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_ufopedia.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufopedia.cpp:28: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/cgame/campaign/../../ui/node/ui_node_option.h:27, from src/client/cgame/campaign/cp_ufopedia.cpp:31: src/client/cgame/campaign/cp_ufopedia.cpp: In function ‘void UP_GenerateSummary()’: src/client/cgame/campaign/../../ui/node/../ui_nodes.h:145:43: warning: cast from ‘char*’ to ‘optionExtraData_t*’ {aka ‘optionExtraData_s*’} increases required alignment of target type [-Wcast-align] 145 | #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/../ui_nodes.h:146:36: note: in expansion of macro ‘UI_EXTRADATA_POINTER’ 146 | #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) | ^~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/../../ui/node/ui_node_option.h:40:31: note: in expansion of macro ‘UI_EXTRADATA’ 40 | #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) | ^~~~~~~~~~~~ src/client/cgame/campaign/cp_ufopedia.cpp:839:25: note: in expansion of macro ‘OPTIONEXTRADATA’ 839 | OPTIONEXTRADATA(chapterOption).icon = cgi->UI_GetSpriteByName(va("icons/ufopedia_%s", chapter->id)); | ^~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_ufopedia.cpp: In function ‘void UP_ChangeDisplay(int)’: src/client/cgame/campaign/cp_ufopedia.cpp:118:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 118 | cgi->Cvar_Set("mn_upimage_top", "base/empty"); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/campaign/cp_ufopedia.cpp:120:9: note: here 120 | case UFOPEDIA_ARTICLE: | ^~~~ ===> CXX [ufo] src/client/cgame/campaign/cp_uforecovery.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_uforecovery.cpp.o src/client/cgame/campaign/cp_uforecovery.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_uforecovery.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_uforecovery_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_uforecovery_callbacks.cpp.o src/client/cgame/campaign/cp_uforecovery_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_uforecovery_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery_callbacks.cpp:27: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/cp_xvi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/cp_xvi.cpp.o src/client/cgame/campaign/cp_xvi.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/cp_xvi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_xvi.cpp:26: src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_baseattack.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_baseattack.cpp.o src/client/cgame/campaign/missions/cp_mission_baseattack.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_baseattack.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_baseattack.cpp:25: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_buildbase.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_buildbase.cpp.o src/client/cgame/campaign/missions/cp_mission_buildbase.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_buildbase.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_buildbase.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_harvest.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_harvest.cpp.o src/client/cgame/campaign/missions/cp_mission_harvest.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_harvest.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_harvest.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_intercept.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_intercept.cpp.o src/client/cgame/campaign/missions/cp_mission_intercept.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_intercept.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_intercept.cpp:25: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_recon.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_recon.cpp.o src/client/cgame/campaign/missions/cp_mission_recon.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_recon.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_recon.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_rescue.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_rescue.cpp.o src/client/cgame/campaign/missions/cp_mission_rescue.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_rescue.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_rescue.cpp:25: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_supply.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_supply.cpp.o src/client/cgame/campaign/missions/cp_mission_supply.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_supply.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_supply.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_terror.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_terror.cpp.o src/client/cgame/campaign/missions/cp_mission_terror.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_terror.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_terror.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp.o src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/campaign/missions/cp_mission_xvi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_xvi.cpp.o src/client/cgame/campaign/missions/cp_mission_xvi.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_xvi.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_xvi.cpp:26: src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/campaign/missions/../../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/skirmish/cl_game_skirmish.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/skirmish/cl_game_skirmish.cpp.o src/client/cgame/skirmish/cl_game_skirmish.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/skirmish/cl_game_skirmish.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/skirmish/../../../common/../shared/shared.h:54, from src/client/cgame/skirmish/../../../common/common.h:30, from src/client/cgame/skirmish/../../cl_shared.h:28, from src/client/cgame/skirmish/cl_game_skirmish.cpp:26: src/client/cgame/skirmish/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/skirmish/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/skirmish/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/skirmish/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/skirmish/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/multiplayer/cl_game_multiplayer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/multiplayer/cl_game_multiplayer.cpp.o src/client/cgame/multiplayer/cl_game_multiplayer.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/multiplayer/cl_game_multiplayer.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/cl_game_multiplayer.cpp:26: src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/multiplayer/mp_callbacks.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/multiplayer/mp_callbacks.cpp.o src/client/cgame/multiplayer/mp_callbacks.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/multiplayer/mp_callbacks.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_callbacks.cpp:26: src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufo] src/client/cgame/multiplayer/mp_serverlist.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib/riscv64-linux-gnu/glib-2.0/include -I/usr/include/opus -I/usr/include/riscv64-linux-gnu -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/dbus-1.0 -I/usr/lib/riscv64-linux-gnu/dbus-1.0/include -I/usr/include/libinstpatch-2 -pthread -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -c -o release-linux-riscv64/ufo/client/cgame/multiplayer/mp_serverlist.cpp.o src/client/cgame/multiplayer/mp_serverlist.cpp -MP -MD -MT release-linux-riscv64/ufo/client/cgame/multiplayer/mp_serverlist.cpp.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_serverlist.cpp:26: src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/cgame/multiplayer/../../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> LD [ufo] mkdir -p ./ "c++" release-linux-riscv64/ufo/client/cl_console.cpp.o release-linux-riscv64/ufo/client/cl_http.cpp.o release-linux-riscv64/ufo/client/cl_inventory.cpp.o release-linux-riscv64/ufo/client/cl_inventory_callbacks.cpp.o release-linux-riscv64/ufo/client/cl_irc.cpp.o release-linux-riscv64/ufo/client/cl_language.cpp.o release-linux-riscv64/ufo/client/cl_main.cpp.o release-linux-riscv64/ufo/client/cl_menu.cpp.o release-linux-riscv64/ufo/client/cl_screen.cpp.o release-linux-riscv64/ufo/client/cl_team.cpp.o release-linux-riscv64/ufo/client/cl_tip.cpp.o release-linux-riscv64/ufo/client/cl_tutorials.cpp.o release-linux-riscv64/ufo/client/cl_video.cpp.o release-linux-riscv64/ufo/client/input/cl_input.cpp.o release-linux-riscv64/ufo/client/input/cl_joystick.cpp.o release-linux-riscv64/ufo/client/input/cl_keys.cpp.o release-linux-riscv64/ufo/client/cinematic/cl_cinematic.cpp.o release-linux-riscv64/ufo/client/cinematic/cl_cinematic_ogm.cpp.o release-linux-riscv64/ufo/client/cinematic/cl_cinematic_roq.cpp.o release-linux-riscv64/ufo/client/cinematic/cl_sequence.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_actor.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_battlescape.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_camera.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_hud.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_hud_callbacks.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_localentity.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_parse.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_particle.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_radar.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_spawn.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_ugv.cpp.o release-linux-riscv64/ufo/client/battlescape/cl_view.cpp.o release-linux-riscv64/ufo/client/battlescape/events/e_main.cpp.o release-linux-riscv64/ufo/client/battlescape/events/e_parse.cpp.o release-linux-riscv64/ufo/client/battlescape/events/e_server.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actoradd.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorappear.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorclientaction.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actordie.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorendshot.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actormove.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorshoot.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstatechange.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorstats.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorthrow.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorturn.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/actor/e_event_actorwound.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invadd.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invammo.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invdel.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/inventory/e_event_invreload.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_centerview.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_doendround.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_endroundannounce.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_reset.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_results.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/player/e_event_startgame.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_addbrushmodel.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_addedict.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_cameraappear.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_doorclose.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_dooropen.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entappear.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entdestroy.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_entperish.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_explode.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_particleappear.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_particlespawn.cpp.o release-linux-riscv64/ufo/client/battlescape/events/event/world/e_event_sound.cpp.o release-linux-riscv64/ufo/client/sound/s_main.cpp.o release-linux-riscv64/ufo/client/sound/s_mix.cpp.o release-linux-riscv64/ufo/client/sound/s_mumble.cpp.o release-linux-riscv64/ufo/client/sound/s_music.cpp.o release-linux-riscv64/ufo/client/sound/s_sample.cpp.o release-linux-riscv64/ufo/client/cgame/cl_game.cpp.o release-linux-riscv64/ufo/client/cgame/cl_game_team.cpp.o release-linux-riscv64/ufo/client/web/web_cgame.cpp.o release-linux-riscv64/ufo/client/web/web_main.cpp.o release-linux-riscv64/ufo/client/ui/ui_actions.cpp.o release-linux-riscv64/ufo/client/ui/ui_behaviour.cpp.o release-linux-riscv64/ufo/client/ui/ui_components.cpp.o release-linux-riscv64/ufo/client/ui/ui_data.cpp.o release-linux-riscv64/ufo/client/ui/ui_dragndrop.cpp.o release-linux-riscv64/ufo/client/ui/ui_draw.cpp.o release-linux-riscv64/ufo/client/ui/ui_expression.cpp.o release-linux-riscv64/ufo/client/ui/ui_font.cpp.o release-linux-riscv64/ufo/client/ui/ui_input.cpp.o release-linux-riscv64/ufo/client/ui/ui_main.cpp.o release-linux-riscv64/ufo/client/ui/ui_node.cpp.o release-linux-riscv64/ufo/client/ui/ui_nodes.cpp.o release-linux-riscv64/ufo/client/ui/ui_parse.cpp.o release-linux-riscv64/ufo/client/ui/ui_popup.cpp.o release-linux-riscv64/ufo/client/ui/ui_render.cpp.o release-linux-riscv64/ufo/client/ui/ui_sound.cpp.o release-linux-riscv64/ufo/client/ui/ui_sprite.cpp.o release-linux-riscv64/ufo/client/ui/ui_timer.cpp.o release-linux-riscv64/ufo/client/ui/ui_tooltip.cpp.o release-linux-riscv64/ufo/client/ui/ui_windows.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractnode.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractoption.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractscrollable.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractscrollbar.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_abstractvalue.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_bar.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_base.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_baseinventory.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_battlescape.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_button.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_checkbox.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_container.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_controls.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_data.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_editor.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_ekg.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_geoscape.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_image.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_item.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_linechart.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_material_editor.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_messagelist.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_model.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_option.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_optionlist.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_optiontree.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_panel.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_radar.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_radiobutton.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_rows.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_selectbox.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_sequence.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_special.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_spinner.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_string.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_tab.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_tbar.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_text.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_text2.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_textentry.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_textlist.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_texture.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_timer.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_todo.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_video.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_vscrollbar.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_window.cpp.o release-linux-riscv64/ufo/client/ui/node/ui_node_zone.cpp.o release-linux-riscv64/ufo/client/renderer/r_array.cpp.o release-linux-riscv64/ufo/client/renderer/r_bsp.cpp.o release-linux-riscv64/ufo/client/renderer/r_corona.cpp.o release-linux-riscv64/ufo/client/renderer/r_draw.cpp.o release-linux-riscv64/ufo/client/renderer/r_entity.cpp.o release-linux-riscv64/ufo/client/renderer/r_flare.cpp.o release-linux-riscv64/ufo/client/renderer/r_font.cpp.o release-linux-riscv64/ufo/client/renderer/r_framebuffer.cpp.o release-linux-riscv64/ufo/client/renderer/r_geoscape.cpp.o release-linux-riscv64/ufo/client/renderer/r_grass.cpp.o release-linux-riscv64/ufo/client/renderer/r_image.cpp.o release-linux-riscv64/ufo/client/renderer/r_light.cpp.o release-linux-riscv64/ufo/client/renderer/r_lightmap.cpp.o release-linux-riscv64/ufo/client/renderer/r_main.cpp.o release-linux-riscv64/ufo/client/renderer/r_material.cpp.o release-linux-riscv64/ufo/client/renderer/r_matrix.cpp.o release-linux-riscv64/ufo/client/renderer/r_mesh.cpp.o release-linux-riscv64/ufo/client/renderer/r_mesh_anim.cpp.o release-linux-riscv64/ufo/client/renderer/r_misc.cpp.o release-linux-riscv64/ufo/client/renderer/r_model.cpp.o release-linux-riscv64/ufo/client/renderer/r_model_alias.cpp.o release-linux-riscv64/ufo/client/renderer/r_model_brush.cpp.o release-linux-riscv64/ufo/client/renderer/r_model_md2.cpp.o release-linux-riscv64/ufo/client/renderer/r_model_md3.cpp.o release-linux-riscv64/ufo/client/renderer/r_model_obj.cpp.o release-linux-riscv64/ufo/client/renderer/r_particle.cpp.o release-linux-riscv64/ufo/client/renderer/r_program.cpp.o release-linux-riscv64/ufo/client/renderer/r_sdl.cpp.o release-linux-riscv64/ufo/client/renderer/r_sphere.cpp.o release-linux-riscv64/ufo/client/renderer/r_state.cpp.o release-linux-riscv64/ufo/client/renderer/r_surface.cpp.o release-linux-riscv64/ufo/client/renderer/r_thread.cpp.o release-linux-riscv64/ufo/common/binaryexpressionparser.cpp.o release-linux-riscv64/ufo/common/cmd.cpp.o release-linux-riscv64/ufo/common/http.cpp.o release-linux-riscv64/ufo/common/ioapi.cpp.o release-linux-riscv64/ufo/common/unzip.cpp.o release-linux-riscv64/ufo/common/bsp.cpp.o release-linux-riscv64/ufo/common/grid.cpp.o release-linux-riscv64/ufo/common/cmodel.cpp.o release-linux-riscv64/ufo/common/common.cpp.o release-linux-riscv64/ufo/common/cvar.cpp.o release-linux-riscv64/ufo/common/files.cpp.o release-linux-riscv64/ufo/common/list.cpp.o release-linux-riscv64/ufo/common/md4.cpp.o release-linux-riscv64/ufo/common/md5.cpp.o release-linux-riscv64/ufo/common/mem.cpp.o release-linux-riscv64/ufo/common/msg.cpp.o release-linux-riscv64/ufo/common/net.cpp.o release-linux-riscv64/ufo/common/netpack.cpp.o release-linux-riscv64/ufo/common/dbuffer.cpp.o release-linux-riscv64/ufo/common/pqueue.cpp.o release-linux-riscv64/ufo/common/scripts.cpp.o release-linux-riscv64/ufo/common/sha1.cpp.o release-linux-riscv64/ufo/common/sha2.cpp.o release-linux-riscv64/ufo/common/tracing.cpp.o release-linux-riscv64/ufo/common/routing.cpp.o release-linux-riscv64/ufo/common/xml.cpp.o release-linux-riscv64/ufo/server/sv_ccmds.cpp.o release-linux-riscv64/ufo/server/sv_game.cpp.o release-linux-riscv64/ufo/server/sv_init.cpp.o release-linux-riscv64/ufo/server/sv_log.cpp.o release-linux-riscv64/ufo/server/sv_main.cpp.o release-linux-riscv64/ufo/server/sv_mapcycle.cpp.o release-linux-riscv64/ufo/server/sv_rma.cpp.o release-linux-riscv64/ufo/server/sv_send.cpp.o release-linux-riscv64/ufo/server/sv_user.cpp.o release-linux-riscv64/ufo/server/sv_world.cpp.o release-linux-riscv64/ufo/shared/bfd.cpp.o release-linux-riscv64/ufo/shared/byte.cpp.o release-linux-riscv64/ufo/shared/mathlib.cpp.o release-linux-riscv64/ufo/shared/mathlib_extra.cpp.o release-linux-riscv64/ufo/shared/aabb.cpp.o release-linux-riscv64/ufo/shared/utf8.cpp.o release-linux-riscv64/ufo/shared/images.cpp.o release-linux-riscv64/ufo/shared/stringhunk.cpp.o release-linux-riscv64/ufo/shared/infostring.cpp.o release-linux-riscv64/ufo/shared/parse.cpp.o release-linux-riscv64/ufo/shared/shared.cpp.o release-linux-riscv64/ufo/game/q_shared.cpp.o release-linux-riscv64/ufo/game/chr_shared.cpp.o release-linux-riscv64/ufo/game/inv_shared.cpp.o release-linux-riscv64/ufo/game/inventory.cpp.o release-linux-riscv64/ufo/libs/mumble/libmumblelink.c.o release-linux-riscv64/ufo/ports/linux/linux_main.cpp.o release-linux-riscv64/ufo/ports/unix/unix_console.cpp.o release-linux-riscv64/ufo/ports/unix/unix_files.cpp.o release-linux-riscv64/ufo/ports/unix/unix_shared.cpp.o release-linux-riscv64/ufo/ports/unix/unix_main.cpp.o release-linux-riscv64/ufo/game/g_actor.cpp.o release-linux-riscv64/ufo/game/g_ai.cpp.o release-linux-riscv64/ufo/game/g_ai_lua.cpp.o release-linux-riscv64/ufo/game/g_camera.cpp.o release-linux-riscv64/ufo/game/g_client.cpp.o release-linux-riscv64/ufo/game/g_cmds.cpp.o release-linux-riscv64/ufo/game/g_combat.cpp.o release-linux-riscv64/ufo/game/g_edicts.cpp.o release-linux-riscv64/ufo/game/g_events.cpp.o release-linux-riscv64/ufo/game/g_func.cpp.o release-linux-riscv64/ufo/game/g_health.cpp.o release-linux-riscv64/ufo/game/g_inventory.cpp.o release-linux-riscv64/ufo/game/g_main.cpp.o release-linux-riscv64/ufo/game/g_match.cpp.o release-linux-riscv64/ufo/game/g_mission.cpp.o release-linux-riscv64/ufo/game/g_morale.cpp.o release-linux-riscv64/ufo/game/g_move.cpp.o release-linux-riscv64/ufo/game/g_reaction.cpp.o release-linux-riscv64/ufo/game/g_round.cpp.o release-linux-riscv64/ufo/game/g_spawn.cpp.o release-linux-riscv64/ufo/game/g_stats.cpp.o release-linux-riscv64/ufo/game/g_svcmds.cpp.o release-linux-riscv64/ufo/game/g_trigger.cpp.o release-linux-riscv64/ufo/game/g_utils.cpp.o release-linux-riscv64/ufo/game/g_vis.cpp.o release-linux-riscv64/ufo/game/lua/lapi.cpp.o release-linux-riscv64/ufo/game/lua/lauxlib.cpp.o release-linux-riscv64/ufo/game/lua/lbaselib.cpp.o release-linux-riscv64/ufo/game/lua/lcode.cpp.o release-linux-riscv64/ufo/game/lua/ldblib.cpp.o release-linux-riscv64/ufo/game/lua/ldebug.cpp.o release-linux-riscv64/ufo/game/lua/ldo.cpp.o release-linux-riscv64/ufo/game/lua/ldump.cpp.o release-linux-riscv64/ufo/game/lua/lfunc.cpp.o release-linux-riscv64/ufo/game/lua/lgc.cpp.o release-linux-riscv64/ufo/game/lua/linit.cpp.o release-linux-riscv64/ufo/game/lua/liolib.cpp.o release-linux-riscv64/ufo/game/lua/llex.cpp.o release-linux-riscv64/ufo/game/lua/lmathlib.cpp.o release-linux-riscv64/ufo/game/lua/lmem.cpp.o release-linux-riscv64/ufo/game/lua/loadlib.cpp.o release-linux-riscv64/ufo/game/lua/lobject.cpp.o release-linux-riscv64/ufo/game/lua/lopcodes.cpp.o release-linux-riscv64/ufo/game/lua/loslib.cpp.o release-linux-riscv64/ufo/game/lua/lparser.cpp.o release-linux-riscv64/ufo/game/lua/lstate.cpp.o release-linux-riscv64/ufo/game/lua/lstring.cpp.o release-linux-riscv64/ufo/game/lua/lstrlib.cpp.o release-linux-riscv64/ufo/game/lua/ltable.cpp.o release-linux-riscv64/ufo/game/lua/ltablib.cpp.o release-linux-riscv64/ufo/game/lua/ltm.cpp.o release-linux-riscv64/ufo/game/lua/lundump.cpp.o release-linux-riscv64/ufo/game/lua/lvm.cpp.o release-linux-riscv64/ufo/game/lua/lzio.cpp.o release-linux-riscv64/ufo/game/lua/print.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/aliencargo.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/aliencontainment.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cl_game_campaign.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_aircraft.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_aircraft_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_airfight.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_alien_interest.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_alienbase.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_aliencont.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_aliencont_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_auto_mission.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_base.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_base_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_basedefence_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_building.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_campaign.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_capacity.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_cgame_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_employee.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_employee_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_event.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_event_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_fightequip_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_geoscape.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_hospital.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_hospital_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_installation.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_installation_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_mapfightequip.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_market.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_market_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_messageoptions.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_messageoptions_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_messages.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_mission_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_mission_triggers.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_missions.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_nation.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_overlay.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_parse.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_popup.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_produce.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_produce_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_radar.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_rank.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_research.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_research_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_save.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_statistics.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_team.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_team_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_time.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_transfer.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_transfer_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_ufo.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_ufopedia.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_uforecovery.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_uforecovery_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/cp_xvi.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_baseattack.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_buildbase.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_harvest.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_intercept.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_recon.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_rescue.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_supply.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_terror.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp.o release-linux-riscv64/ufo/client/cgame/campaign/missions/cp_mission_xvi.cpp.o release-linux-riscv64/ufo/client/cgame/skirmish/cl_game_skirmish.cpp.o release-linux-riscv64/ufo/client/cgame/multiplayer/cl_game_multiplayer.cpp.o release-linux-riscv64/ufo/client/cgame/multiplayer/mp_callbacks.cpp.o release-linux-riscv64/ufo/client/cgame/multiplayer/mp_serverlist.cpp.o -lpng -ljpeg -lSDL2_ttf -lSDL2 -lSDL2_mixer -lSDL2 -lGL -lSDL2 -lcurl -ltheora -logg -lxvidcore -lvorbis -logg -lmxml -lrt -ldl -lz -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o ufo /usr/bin/ld: release-linux-riscv64/ufo/game/lua/loslib.cpp.o: in function `os_tmpname(lua_State*)': /usr/src/ufoai-2.5-7build3/src/game/lua/loslib.cpp:60:(.text+0x2ce): warning: the use of `tmpnam' is dangerous, better use `mkstemp' mkdir -p release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/common/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/server/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/shared/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/ports/linux/ release-linux-riscv64/ufoded/ports/unix/ release-linux-riscv64/ufoded/ports/unix/ release-linux-riscv64/ufoded/ports/unix/ release-linux-riscv64/ufoded/ports/unix/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/lua/ release-linux-riscv64/ufoded/game/ touch release-linux-riscv64/ufoded/.dirs ===> CXX [ufoded] src/common/cmd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/cmd.cpp.o src/common/cmd.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/cmd.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/common/filesys.h:30, from src/common/cmd.h:34, from src/common/cmd.cpp:34: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/cmd.h:35: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/http.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/http.cpp.o src/common/http.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/http.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/http.h:27, from src/common/http.cpp:21: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/http.cpp: In function ‘bool HTTP_PutFile(const char*, const char*, const char*, const upparam_t*)’: src/common/http.cpp:256:44: warning: ‘CURLFORM_PTRNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ^~~~~~~~~~~~~~~~ In file included from src/common/http.h:32: /usr/include/riscv64-linux-gnu/curl/curl.h:2502:3: note: declared here 2502 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/common/http.cpp:256:76: warning: ‘CURLFORM_PTRCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2505:3: note: declared here 2505 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ src/common/http.cpp:256:29: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 256 | curl_formadd(&post, &last, CURLFORM_PTRNAME, params->name, CURLFORM_PTRCONTENTS, params->value, CURLFORM_END); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/common/http.cpp:260:36: warning: ‘CURLFORM_PTRNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ^~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2502:3: note: declared here 2502 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/common/http.cpp:260:64: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ^~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2510:3: note: declared here 2510 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ src/common/http.cpp:260:21: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 260 | curl_formadd(&post, &last, CURLFORM_PTRNAME, formName, CURLFORM_FILE, fileName, CURLFORM_END); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:2576:1: note: declared here 2576 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/common/http.cpp:264:32: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 264 | curl_easy_setopt(curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/riscv64-linux-gnu/curl/curl.h:1190:3: note: declared here 1190 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/ioapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/ioapi.cpp.o src/common/ioapi.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/ioapi.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/common/ioapi.cpp:9: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/common/unzip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/unzip.cpp.o src/common/unzip.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/unzip.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from /usr/include/zconf.h:428, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/common/bsp.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/bsp.cpp.o src/common/bsp.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/bsp.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/bsp.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/bsp.cpp: In function ‘void CMod_LoadSubmodels(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:59:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspModel_t*’ increases required alignment of target type [-Wcast-align] 59 | in = (const dBspModel_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadSurfaces(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:102:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspTexinfo_t*’ {aka ‘const texinfo_s*’} increases required alignment of target type [-Wcast-align] 102 | in = (const dBspTexinfo_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadNodes(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:143:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspNode_t*’ increases required alignment of target type [-Wcast-align] 143 | in = (const dBspNode_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadBrushes(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:193:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspBrush_t*’ increases required alignment of target type [-Wcast-align] 193 | in = (const dBspBrush_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadLeafs(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:230:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspLeaf_t*’ increases required alignment of target type [-Wcast-align] 230 | in = (const dBspLeaf_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadPlanes(MapTile&, const byte*, const lump_t*, const vec_t*)’: src/common/bsp.cpp:284:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspPlane_t*’ increases required alignment of target type [-Wcast-align] 284 | in = (const dBspPlane_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadLeafBrushes(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:329:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 329 | in = (const unsigned short*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CMod_LoadBrushSides(MapTile&, const byte*, const lump_t*)’: src/common/bsp.cpp:366:14: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dBspBrushSide_t*’ increases required alignment of target type [-Wcast-align] 366 | in = (const dBspBrushSide_t*) (base + l->fileofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CM_AddMapTile(const char*, const char*, bool, int, int, byte, mapData_t*, mapTiles_t*)’: src/common/bsp.cpp:812:19: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dBspHeader_t*’ increases required alignment of target type [-Wcast-align] 812 | header = *(dBspHeader_t*) buf; | ^~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp: In function ‘void CM_LoadMap(const char*, bool, const char*, const char*, mapData_t*, mapTiles_t*)’: src/common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘mapData_t’ {aka ‘struct mapData_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/common/bsp.cpp:942:9: note: in expansion of macro ‘OBJZERO’ 942 | OBJZERO(*mapData); | ^~~~~~~ In file included from src/common/tracing.h:30, from src/common/cmodel.h:31, from src/common/common.h:182: src/common/../shared/typedefs.h:319:16: note: ‘mapData_t’ {aka ‘struct mapData_s’} declared here 319 | typedef struct mapData_s { | ^~~~~~~~~ ===> CXX [ufoded] src/common/grid.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/grid.cpp.o src/common/grid.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/grid.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/grid.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/grid.cpp: In member function ‘bool Step::checkFlyingDirections() const’: src/common/grid.cpp:394:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 394 | neededHeight = actorHeight + CELL_HEIGHT - std::max((const signed char)0, routing.getFloor(actorSize, fromPos)); | ^~~~~~~~~~~~~~~~~~~~ src/common/grid.cpp:399:69: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 399 | neededHeight = actorHeight + CELL_HEIGHT - std::max((const signed char)0, routing.getFloor(actorSize, toPos)); | ^~~~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/cmodel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/cmodel.cpp.o src/common/cmodel.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/cmodel.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/cmodel.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/common.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/common.cpp.o src/common/common.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/common.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/common.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/cvar.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/cvar.cpp.o src/common/cvar.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/cvar.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/cvar.cpp:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/files.cpp.o src/common/files.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/files.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/files.cpp:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/files.cpp: In function ‘void FS_ExecAutoexec()’: src/common/files.cpp:753:47: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=] 753 | snprintf(name, sizeof(name), "%s/autoexec.cfg", s->filename); | ^~ In file included from /usr/include/stdio.h:980, from /usr/include/SDL2/SDL_stdinc.h:37, from /usr/include/SDL2/SDL_endian.h:31, from src/common/../shared/byte.h:30, from src/common/common.h:29: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void FS_ExecAutoexec()’ at src/common/files.cpp:753:11: /usr/include/riscv64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 14 and 269 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/list.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/list.cpp.o src/common/list.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/list.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/list.h:28, from src/common/list.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/list.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/md4.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/md4.cpp.o src/common/md4.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/md4.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/common/../shared/../../config.h:3, from src/common/../shared/shared.h:32, from src/common/md4.cpp:32: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In function ‘void mdfour_result(mdfour*, unsigned char*)’, inlined from ‘void mdfour(unsigned char*, const unsigned char*, int)’ at src/common/md4.cpp:198:15, inlined from ‘unsigned int Com_BlockChecksum(const void*, int)’ at src/common/md4.cpp:213:8: src/common/md4.cpp:184:11: warning: storing the address of local variable ‘md’ in ‘m’ [-Wdangling-pointer=] 184 | m = md; | ~~^~~~ src/common/md4.cpp: In function ‘unsigned int Com_BlockChecksum(const void*, int)’: src/common/md4.cpp:195:23: note: ‘md’ declared here 195 | struct mdfour md; | ^~ src/common/md4.cpp:35:23: note: ‘m’ declared here 35 | static struct mdfour *m; | ^ ===> CXX [ufoded] src/common/md5.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/md5.cpp.o src/common/md5.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/md5.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/md5.cpp:23: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/md5.cpp: In function ‘void MD5Transform(uint32_t*, const uint32_t*)’: src/common/md5.cpp:81:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp:81:36: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 81 | register uint32_t a, b, c, d; | ^ src/common/md5.cpp: In function ‘void MD5Update(MD5Context*, const unsigned char*, unsigned int)’: src/common/md5.cpp:191:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 191 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:200:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 200 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp: In function ‘void MD5Final(MD5Context*, unsigned char*)’: src/common/md5.cpp:235:40: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 235 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:246:10: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 246 | ((uint32_t*) ctx->in)[14] = ctx->bits[0]; | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:247:10: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 247 | ((uint32_t*) ctx->in)[15] = ctx->bits[1]; | ^~~~~~~~~~~~~~~~~~~ src/common/md5.cpp:249:32: warning: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 249 | MD5Transform(ctx->buf, (uint32_t*) ctx->in); | ^~~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/mem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/mem.cpp.o src/common/mem.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/mem.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/mem.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/mem.cpp: In function ‘memBlockFoot_t* Mem_BlockToFooter(memBlock_t*)’: src/common/mem.cpp:177:16: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘memBlockFoot_t*’ increases required alignment of target type [-Wcast-align] 177 | return reinterpret_cast(reinterpret_cast(Mem_BlockToPtr(mem)) + mem->memSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/msg.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/msg.cpp.o src/common/msg.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/msg.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/msg.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/dbuffer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/dbuffer.cpp.o src/common/dbuffer.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/dbuffer.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/dbuffer.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/net.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/net.cpp.o src/common/net.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/net.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/net.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/net.cpp: In function ‘void NET_Wait(int)’: src/common/net.cpp:561:94: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 561 | const int len = sendto(s->socket, dgram->msg, dgram->len, 0, (struct sockaddr* )dgram->addr, s->addrlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:580:82: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 580 | const int len = recvfrom(s->socket, buf, sizeof(buf), 0, (struct sockaddr* )addrbuf, &addrlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:584:54: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 584 | s->func(s, buf, len, (struct sockaddr* )addrbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp: In function ‘const char* NET_StreamPeerToName(net_stream*, char*, int, bool)’: src/common/net.cpp:897:36: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 897 | if (getpeername(s->socket, (struct sockaddr* )buf, &addrlen) != 0) | ^~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp:902:36: warning: cast from ‘char*’ to ‘sockaddr*’ increases required alignment of target type [-Wcast-align] 902 | const int rc = getnameinfo((struct sockaddr* )buf, addrlen, node, sizeof(node), service, sizeof(service), | ^~~~~~~~~~~~~~~~~~~~~~ src/common/net.cpp: In function ‘void NET_AddrinfoToString(const addrinfo*, char*, size_t)’: src/common/net.cpp:1240:36: warning: cast from ‘sockaddr*’ to ‘sockaddr_in*’ increases required alignment of target type [-Wcast-align] 1240 | char* service = inet_ntoa(((struct sockaddr_in *)addr->ai_addr)->sin_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/netpack.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/netpack.cpp.o src/common/netpack.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/netpack.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/netpack.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/netpack.cpp: In function ‘void NET_OOB_Printf(net_stream*, const char*, ...)’: src/common/netpack.cpp:557:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] 557 | const char cmd = (const char)clc_oob; | ^~~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/pqueue.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/pqueue.cpp.o src/common/pqueue.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/pqueue.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/pqueue.cpp:17: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/scripts.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/scripts.cpp.o src/common/scripts.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/scripts.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/scripts.h:28, from src/common/scripts.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/scripts.cpp: In function ‘resultStatus_t Com_ParseValue(void*, const char*, valueTypes_t, int, size_t, size_t*)’: src/common/scripts.cpp:539:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 539 | *(int *) b = TEAM_CIVILIAN; | ^~~~~~~~~ src/common/scripts.cpp:541:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 541 | *(int *) b = TEAM_PHALANX; | ^~~~~~~~~ src/common/scripts.cpp:543:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 543 | *(int *) b = TEAM_ALIEN; | ^~~~~~~~~ src/common/scripts.cpp:551:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 551 | *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:553:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 553 | *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:555:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 555 | *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:557:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 557 | *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:559:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 559 | *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:561:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 561 | *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:563:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 563 | *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:565:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 565 | *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:573:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 573 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:575:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 575 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:577:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 577 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:579:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 579 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:581:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 581 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:583:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 583 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:585:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 585 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:587:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 587 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:589:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 589 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:591:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 591 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:599:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 599 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:601:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 601 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:603:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 603 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:605:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 605 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:607:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 607 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:609:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 609 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:611:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 611 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:613:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 613 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:615:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 615 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:617:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 617 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:624:43: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 624 | if (sscanf(token, "%i", &((int *) b)[0]) != 1) { | ^~~~~~~~~ src/common/scripts.cpp:625:55: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 625 | if (!Com_GetConstInt(token, &((int *) b)[0])) { | ^~~~~~~~~ src/common/scripts.cpp:634:46: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 634 | if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { | ^~~~~~~~~ src/common/scripts.cpp:634:63: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 634 | if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { | ^~~~~~~~~ src/common/scripts.cpp:642:43: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 642 | if (sscanf(token, "%f", &((float *) b)[0]) != 1) { | ^~~~~~~~~~~ src/common/scripts.cpp:650:46: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 650 | if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { | ^~~~~~~~~~~ src/common/scripts.cpp:650:65: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 650 | if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:49: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:68: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:658:87: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 658 | if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { | ^~~~~~~~~~~ src/common/scripts.cpp:667:36: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 667 | float* f = (float *) b; | ^~~~~~~~~~~ src/common/scripts.cpp:706:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘align_t*’ increases required alignment of target type [-Wcast-align] 706 | *(align_t *)b = (align_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:718:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘blend_t*’ increases required alignment of target type [-Wcast-align] 718 | *(blend_t *)b = (blend_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:730:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘style_t*’ increases required alignment of target type [-Wcast-align] 730 | *(style_t *)b = (style_t)num; | ^~~~~~~~~~~~ src/common/scripts.cpp:742:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘fade_t*’ increases required alignment of target type [-Wcast-align] 742 | *(fade_t *)b = (fade_t)num; | ^~~~~~~~~~~ src/common/scripts.cpp:761:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 761 | *(uint32_t *) b |= ((1 << w) - 1) << x << (y * SHAPE_SMALL_MAX_WIDTH); | ^~~~~~~~~~~~~~ src/common/scripts.cpp:780:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 780 | ((uint32_t *) b)[y] |= w; | ^~~~~~~~~~~~~~ src/common/scripts.cpp:801:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘date_t*’ {aka ‘date_s*’} increases required alignment of target type [-Wcast-align] 801 | ((date_t *) b)->day = DAYS_PER_YEAR * x + y; | ^~~~~~~~~~~~ src/common/scripts.cpp:802:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘date_t*’ {aka ‘date_s*’} increases required alignment of target type [-Wcast-align] 802 | ((date_t *) b)->sec = SECONDS_PER_HOUR * w; | ^~~~~~~~~~~~ src/common/scripts.cpp:813:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 813 | *(float *) b = atof(token + 1) * (-1); | ^~~~~~~~~~~ src/common/scripts.cpp:815:34: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 815 | *(float *) b = atof(token + 1); | ^~~~~~~~~~~ src/common/scripts.cpp:821:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 821 | *(float *) b = atof(token); | ^~~~~~~~~~~ src/common/scripts.cpp: In function ‘int Com_SetValue(void*, const void*, valueTypes_t, int, size_t)’: src/common/scripts.cpp:931:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 931 | *(int *) b = TEAM_CIVILIAN; | ^~~~~~~~~ src/common/scripts.cpp:933:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 933 | *(int *) b = TEAM_PHALANX; | ^~~~~~~~~ src/common/scripts.cpp:935:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 935 | *(int *) b = TEAM_ALIEN; | ^~~~~~~~~ src/common/scripts.cpp:942:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 942 | *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:944:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 944 | *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:946:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 946 | *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:948:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 948 | *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:950:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 950 | *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:952:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 952 | *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:954:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 954 | *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:956:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 956 | *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:963:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 963 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:965:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 965 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:967:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 967 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:969:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 969 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:971:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 971 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:973:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 973 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:975:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 975 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:977:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 977 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:979:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 979 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:981:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 981 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:988:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 988 | *(ufoType_t *) b = UFO_BOMBER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:990:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 990 | *(ufoType_t *) b = UFO_CARRIER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:992:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 992 | *(ufoType_t *) b = UFO_CORRUPTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:994:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 994 | *(ufoType_t *) b = UFO_FIGHTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:996:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 996 | *(ufoType_t *) b = UFO_HARVESTER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:998:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 998 | *(ufoType_t *) b = UFO_SCOUT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1000:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1000 | *(ufoType_t *) b = UFO_SUPPLY; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1002:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1002 | *(ufoType_t *) b = UFO_GUNBOAT; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1004:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1004 | *(ufoType_t *) b = UFO_RIPPER; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1006:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘ufoType_t*’ increases required alignment of target type [-Wcast-align] 1006 | *(ufoType_t *) b = UFO_MOTHERSHIP; | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1012:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1012 | *(int *) b = *(const int *) set; | ^~~~~~~~~ src/common/scripts.cpp:1016:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1016 | ((int *) b)[0] = ((const int *) set)[0]; | ^~~~~~~~~ src/common/scripts.cpp:1017:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1017 | ((int *) b)[1] = ((const int *) set)[1]; | ^~~~~~~~~ src/common/scripts.cpp:1021:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1021 | *(float *) b = *(const float *) set; | ^~~~~~~~~~~ src/common/scripts.cpp:1025:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1025 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1026:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1026 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1030:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1030 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1031:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1031 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1032:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1032 | ((float *) b)[2] = ((const float *) set)[2]; | ^~~~~~~~~~~ src/common/scripts.cpp:1036:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1036 | ((float *) b)[0] = ((const float *) set)[0]; | ^~~~~~~~~~~ src/common/scripts.cpp:1037:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1037 | ((float *) b)[1] = ((const float *) set)[1]; | ^~~~~~~~~~~ src/common/scripts.cpp:1038:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1038 | ((float *) b)[2] = ((const float *) set)[2]; | ^~~~~~~~~~~ src/common/scripts.cpp:1039:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1039 | ((float *) b)[3] = ((const float *) set)[3]; | ^~~~~~~~~~~ src/common/scripts.cpp:1055:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘align_t*’ increases required alignment of target type [-Wcast-align] 1055 | *(align_t *)b = *(const align_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1059:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘blend_t*’ increases required alignment of target type [-Wcast-align] 1059 | *(blend_t *)b = *(const blend_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1063:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘style_t*’ increases required alignment of target type [-Wcast-align] 1063 | *(style_t *)b = *(const style_t *) set; | ^~~~~~~~~~~~ src/common/scripts.cpp:1067:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘fade_t*’ increases required alignment of target type [-Wcast-align] 1067 | *(fade_t *)b = *(const fade_t *) set; | ^~~~~~~~~~~ src/common/scripts.cpp:1071:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘int*’ increases required alignment of target type [-Wcast-align] 1071 | *(int *) b = *(const int *) set; | ^~~~~~~~~ src/common/scripts.cpp: In function ‘const char* Com_ValueToStr(const void*, valueTypes_t, int)’: src/common/scripts.cpp:1133:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1133 | switch (*(const int *) b) { | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1141:60: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1141 | Sys_Error("Unknown team id '%i'", *(const int *) b); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1145:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 1145 | switch (*(const humanAircraftType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1163:71: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const humanAircraftType_t*’ increases required alignment of target type [-Wcast-align] 1163 | Sys_Error("Unknown aircrafttype type: '%i'", *(const humanAircraftType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1167:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1167 | switch (*(const ufoType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1189:62: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1189 | Sys_Error("Unknown ufo type: '%i'", *(const ufoType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1193:26: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1193 | switch (*(const ufoType_t *) b) { | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1215:70: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const ufoType_t*’ increases required alignment of target type [-Wcast-align] 1215 | Sys_Error("Unknown crashed ufo type: '%i'", *(const ufoType_t *) b); | ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1219:64: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1219 | Com_sprintf(valuestr, sizeof(valuestr), "%i", *(const int *) b); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:67: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1223 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:89: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int*’ increases required alignment of target type [-Wcast-align] 1223 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); | ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1227:66: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1227 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:71: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1231 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:95: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1231 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:76: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:100: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:124: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1235 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:81: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:105: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:129: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:153: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1239 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1252:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const align_t*’ increases required alignment of target type [-Wcast-align] 1252 | Q_strncpyz(valuestr, align_names[*(const align_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1257:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const blend_t*’ increases required alignment of target type [-Wcast-align] 1257 | Q_strncpyz(valuestr, blend_names[*(const blend_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1262:51: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const style_t*’ increases required alignment of target type [-Wcast-align] 1262 | Q_strncpyz(valuestr, style_names[*(const style_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1267:50: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const fade_t*’ increases required alignment of target type [-Wcast-align] 1267 | Q_strncpyz(valuestr, fade_names[*(const fade_t *)b], sizeof(valuestr)); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:70: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:113: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:156: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const date_t*’ {aka ‘const date_s*’} increases required alignment of target type [-Wcast-align] 1279 | Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); | ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1284:22: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1284 | if (*(const float *) b > 2.0) | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1285:75: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1285 | Com_sprintf(valuestr, sizeof(valuestr), "+%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1287:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1287 | else if (*(const float *) b < 2.0) | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1288:75: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1288 | Com_sprintf(valuestr, sizeof(valuestr), "-%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1291:74: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 1291 | Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); | ^~~~~~~~~~~~~~~~~ src/common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = char*; value_t = value_s]’: src/common/scripts.cpp:1323:5: required from here src/common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘char**’ increases required alignment of target type [-Wcast-align] 181 | return *reinterpret_cast(reinterpret_cast(object) + value->ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.h: In instantiation of ‘T& Com_GetValue(void*, const value_t*) [with T = linkedList_t*; value_t = value_s]’: src/common/scripts.cpp:1326:54: required from here src/common/scripts.h:181:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘linkedList_t**’ increases required alignment of target type [-Wcast-align] src/common/scripts.cpp: In function ‘bool Com_ParseBlockToken(const char*, const char**, void*, const value_t*, memPool_t*, const char*)’: src/common/scripts.cpp:1318:41: warning: this statement may fall through [-Wimplicit-fallthrough=] 1318 | if (*token == '_') | ^~ src/common/scripts.cpp:1322:25: note: here 1322 | case V_HUNK_STRING: | ^~~~ ===> CXX [ufoded] src/common/sha1.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/sha1.cpp.o src/common/sha1.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/sha1.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/sha1.h:38, from src/common/sha1.cpp:41: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/sha1.cpp:43: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/sha2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/sha2.cpp.o src/common/sha2.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/sha2.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/common/sha2.cpp:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/sha2.cpp:35: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/tracing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/tracing.cpp.o src/common/tracing.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/tracing.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/../shared/mathlib.h:27, from src/common/../shared/typedefs.h:4, from src/common/tracing.h:30, from src/common/tracing.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/../shared/typedefs.h:5: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/common/routing.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/common/routing.cpp.o src/common/routing.cpp -MP -MD -MT release-linux-riscv64/ufoded/common/routing.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/routing.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/routing.cpp: In function ‘int RT_MicroTrace(RoutingData*, const place_t*, int, int, int, int, opening_t*)’: src/common/routing.cpp:1145:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1145 | if (bases[5] <= middle && /* same for the 2nd part of the passage */ | ^~ src/common/routing.cpp:1150:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1150 | return opening->base - middle; | ^~~~~~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:28: warning: ‘hi’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~^~~~~~~~~~~~~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1169:13: note: ‘hi’ declared here 1169 | int hi; /**< absolute ceiling of the passage found. */ | ^~ In function ‘int RT_TraceOnePassage(RoutingData*, const place_t*, const place_t*, opening_t*)’, inlined from ‘void RT_TracePassage(RoutingData*, int, int, int, int, int, opening_t*)’ at src/common/routing.cpp:1308:20, inlined from ‘int RT_UpdateConnection(RoutingData*, int, int, int, int, int, int)’ at src/common/routing.cpp:1385:17, inlined from ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’ at src/common/routing.cpp:1459:40: src/common/routing.cpp:1179:39: warning: ‘opening.opening_s::base’ may be used uninitialized [-Wmaybe-uninitialized] 1179 | opening->size = hi - opening->base; | ~~~~~~~~~^~~~ src/common/routing.cpp: In function ‘void RT_UpdateConnectionColumn(mapTiles_t*, Routing&, int, int, int, int, const char**)’: src/common/routing.cpp:1341:19: note: ‘opening’ declared here 1341 | opening_t opening; /** the opening between the two cells */ | ^~~~~~~ ===> CXX [ufoded] src/server/sv_ccmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_ccmds.cpp.o src/server/sv_ccmds.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_ccmds.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_ccmds.cpp:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/server/sv_game.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_game.cpp.o src/server/sv_game.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_game.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_game.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/server/sv_init.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_init.cpp.o src/server/sv_init.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_init.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_init.cpp:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/server/sv_log.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_log.cpp.o src/server/sv_log.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_log.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_log.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/server/sv_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_main.cpp.o src/server/sv_main.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_main.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_main.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_main.cpp: In function ‘void SVC_DirectConnect(net_stream*)’: src/server/server.h:137:24: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘player_t*’ {aka ‘SrvPlayer*’} increases required alignment of target type [-Wcast-align] 137 | #define PLAYER_NUM(n) ((player_t*)((byte*)svs.ge->players + svs.ge->player_size * (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_main.cpp:498:29: note: in expansion of macro ‘PLAYER_NUM’ 498 | SrvPlayer *player = PLAYER_NUM(playernum); | ^~~~~~~~~~ src/server/sv_main.cpp: In function ‘void SV_Shutdown(const char*, bool)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_main.cpp:1049:9: note: in expansion of macro ‘OBJZERO’ 1049 | OBJZERO(*sv); | ^~~~~~~ src/server/server.h:106:16: note: ‘serverInstanceGame_t’ {aka ‘struct serverInstanceGame_s’} declared here 106 | typedef struct serverInstanceGame_s { | ^~~~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/server/sv_mapcycle.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_mapcycle.cpp.o src/server/sv_mapcycle.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_mapcycle.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_mapcycle.cpp:1: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/server/sv_rma.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_rma.cpp.o src/server/sv_rma.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_rma.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_rma.cpp:32: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_rma.cpp: In function ‘bool SV_AddMapTiles(MapInfo*)’: src/server/sv_rma.cpp:1672:74: warning: the address of ‘Assembly::id’ will never be NULL [-Waddress] 1672 | map->name, mAsm->id ? mAsm->id : ""); | ~~~~~~^~ In file included from src/server/sv_rma.cpp:33: src/server/sv_rma.h:71:14: note: ‘Assembly::id’ declared here 71 | char id[MAX_VAR]; /**< The id (string) of the assembly as defined in the ump file (next to "assembly"). */ | ^~ src/server/sv_rma.cpp:1675:74: warning: the address of ‘Assembly::id’ will never be NULL [-Waddress] 1675 | map->name, mAsm->id ? mAsm->id : ""); | ~~~~~~^~ src/server/sv_rma.h:71:14: note: ‘Assembly::id’ declared here 71 | char id[MAX_VAR]; /**< The id (string) of the assembly as defined in the ump file (next to "assembly"). */ | ^~ ===> CXX [ufoded] src/server/sv_send.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_send.cpp.o src/server/sv_send.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_send.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_send.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/server/sv_user.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_user.cpp.o src/server/sv_user.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_user.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_user.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/server/sv_world.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_world.cpp.o src/server/sv_world.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_world.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/server.h:31, from src/server/sv_world.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/sv_world.cpp: In function ‘trace_t SV_Trace(const vec_t*, const AABB&, const vec_t*, const edict_t*, int)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘moveclip_t’ {aka ‘struct moveclip_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_world.cpp:463:9: note: in expansion of macro ‘OBJZERO’ 463 | OBJZERO(clip); | ^~~~~~~ src/server/sv_world.cpp:277:16: note: ‘moveclip_t’ {aka ‘struct moveclip_s’} declared here 277 | typedef struct moveclip_s { | ^~~~~~~~~~ src/server/sv_world.cpp: In function ‘void SV_ModLoadAliasMD2Model(sv_model_t*, const byte*)’: src/server/sv_world.cpp:526:34: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 526 | const dMD2Model_t* md2 = (const dMD2Model_t*)buffer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp:529:36: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 529 | const dMD2Frame_t* frame = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + mod->frame * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp: In function ‘void SV_ModLoadAliasMD3Model(sv_model_t*, const byte*)’: src/server/sv_world.cpp:553:29: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3_t*’ increases required alignment of target type [-Wcast-align] 553 | const dmd3_t* md3 = (const dmd3_t*)buffer; | ^~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp:554:36: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3frame_t*’ increases required alignment of target type [-Wcast-align] 554 | const dmd3frame_t* frame = (const dmd3frame_t*)((const byte*)md3 + LittleLong(md3->ofs_frames)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/sv_world.cpp: In function ‘bool SV_LoadModelAABB(const char*, int, AABB&)’: src/server/../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘sv_model_t’ {aka ‘struct sv_model_s’}; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/server/sv_world.cpp:648:9: note: in expansion of macro ‘OBJZERO’ 648 | OBJZERO(*mod); | ^~~~~~~ src/server/server.h:47:16: note: ‘sv_model_t’ {aka ‘struct sv_model_s’} declared here 47 | typedef struct sv_model_s { | ^~~~~~~~~~ In file included from src/server/../common/../shared/byte.h:30, from src/server/../common/common.h:29: src/server/sv_world.cpp:654:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 654 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/server/sv_world.cpp:654:17: note: in expansion of macro ‘LittleLong’ 654 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ ===> CXX [ufoded] src/server/sv_clientstub.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/server/sv_clientstub.cpp.o src/server/sv_clientstub.cpp -MP -MD -MT release-linux-riscv64/ufoded/server/sv_clientstub.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/server/../common/../shared/ufotypes.h:32, from src/server/../common/common.h:28, from src/server/sv_clientstub.cpp:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/server/../common/../shared/shared.h:54, from src/server/../common/common.h:30: src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/server/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/shared/bfd.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/bfd.cpp.o src/shared/bfd.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/bfd.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/../common/../shared/ufotypes.h:32, from src/shared/../common/common.h:28, from src/shared/bfd.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/shared/byte.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/byte.cpp.o src/shared/byte.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/byte.cpp.o In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:34, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/byte.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/shared/stringhunk.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/stringhunk.cpp.o src/shared/stringhunk.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/stringhunk.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/stringhunk.h:28, from src/shared/stringhunk.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/stringhunk.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/shared/infostring.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/infostring.cpp.o src/shared/infostring.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/infostring.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/infostring.h:31, from src/shared/infostring.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/infostring.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/shared/mathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/mathlib.cpp.o src/shared/mathlib.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/mathlib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/mathlib.h:27, from src/shared/mathlib.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/mathlib.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/mathlib.cpp: In function ‘void RotatePointAroundVector(vec_t*, const vec_t*, const vec_t*, float)’: src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/shared/aabb.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/aabb.cpp.o src/shared/aabb.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/aabb.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/aabb.h:27, from src/shared/aabb.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/shared/parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/parse.cpp.o src/shared/parse.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/parse.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/parse.h:30, from src/shared/parse.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/parse.h:31: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/shared/shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/shared.cpp.o src/shared/shared.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/shared.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/shared/../../config.h:3, from src/shared/shared.h:32, from src/shared/shared.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/shared.cpp: In function ‘int Com_FilterAfterStar(const char*, const char*)’: src/shared/shared.cpp:108:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:108:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:109:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^ src/shared/shared.cpp:109:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^~ src/shared/shared.cpp: In function ‘int Com_Filter(const char*, const char*)’: src/shared/shared.cpp:147:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:147:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:148:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 148 | register char c; | ^ src/shared/shared.cpp:169:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | register char c1 = *t++; | ^~ src/shared/shared.cpp:181:55: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~~~ src/shared/shared.cpp:181:67: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~ ===> CXX [ufoded] src/shared/utf8.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/shared/utf8.cpp.o src/shared/utf8.cpp -MP -MD -MT release-linux-riscv64/ufoded/shared/utf8.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/shared/utf8.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/game/q_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/q_shared.cpp.o src/game/q_shared.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/q_shared.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/q_shared.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/game/inv_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/inv_shared.cpp.o src/game/inv_shared.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/inv_shared.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/inv_shared.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/inv_shared.cpp: In member function ‘bool Item::isSameAs(const Item*) const’: src/game/inv_shared.cpp:551:9: warning: ‘nonnull’ argument ‘this’ compared to NULL [-Wnonnull-compare] 551 | if (this == nullptr || other == nullptr) | ^~ ===> CXX [ufoded] src/game/chr_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/chr_shared.cpp.o src/game/chr_shared.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/chr_shared.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/chr_shared.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/chr_shared.cpp: In function ‘void CHRSH_CharGenAbilitySkills(character_t*, bool, const char*)’: src/game/chr_shared.cpp:208:97: warning: the address of ‘chrTemplate_s::id’ will never be NULL [-Waddress] 208 | for (chrTemplate = teamDef->characterTemplates[0]; chrTemplate->id; chrTemplate++) { | ~~~~~~~~~~~~~^~ In file included from src/game/q_shared.h:40: src/game/chr_shared.h:57:14: note: ‘chrTemplate_s::id’ declared here 57 | char id[MAX_VAR]; /** short name of the template */ | ^~ ===> CXX [ufoded] src/ports/linux/linux_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/ports/linux/linux_main.cpp.o src/ports/linux/linux_main.cpp -MP -MD -MT release-linux-riscv64/ufoded/ports/linux/linux_main.cpp.o In file included from /usr/include/fcntl.h:25, from src/ports/linux/linux_main.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/linux/../../common/../shared/shared.h:54, from src/ports/linux/../../common/common.h:30, from src/ports/linux/linux_main.cpp:29: src/ports/linux/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/linux/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/linux/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/linux/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/linux/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/ports/unix/unix_console.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/ports/unix/unix_console.cpp.o src/ports/unix/unix_console.cpp -MP -MD -MT release-linux-riscv64/ufoded/ports/unix/unix_console.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/ports/unix/../../common/../shared/ufotypes.h:32, from src/ports/unix/../../common/common.h:28, from src/ports/unix/unix_console.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_console.cpp: In function ‘void Sys_TTYConsoleShow()’: src/ports/unix/unix_console.cpp:106:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 106 | write(STDOUT_FILENO, "]", 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:110:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | write(STDOUT_FILENO, ttyConsoleHistory.buffer + i, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp: In function ‘void Sys_TTYDeleteCharacter()’: src/ports/unix/unix_console.cpp:79:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 79 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:81:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 81 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp:83:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/ports/unix/unix_console.cpp: In function ‘const char* Sys_ConsoleInput()’: src/ports/unix/unix_console.cpp:300:46: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 300 | write(1, &key, 1); | ~~~~~^~~~~~~~~~~~ src/ports/unix/unix_console.cpp:301:46: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | write(1, "]", 1); | ~~~~~^~~~~~~~~~~ src/ports/unix/unix_console.cpp:360:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 360 | write(STDOUT_FILENO, &key, 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/ports/unix/unix_files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/ports/unix/unix_files.cpp.o src/ports/unix/unix_files.cpp -MP -MD -MT release-linux-riscv64/ufoded/ports/unix/unix_files.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_files.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_files.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/ports/unix/unix_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/ports/unix/unix_shared.cpp.o src/ports/unix/unix_shared.cpp -MP -MD -MT release-linux-riscv64/ufoded/ports/unix/unix_shared.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_shared.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_shared.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_shared.cpp: In function ‘void Sys_OpenURL(const char*)’: src/ports/unix/unix_shared.cpp:205:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | system(buf); | ~~~~~~^~~~~ ===> CXX [ufoded] src/ports/unix/unix_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/ports/unix/unix_main.cpp.o src/ports/unix/unix_main.cpp -MP -MD -MT release-linux-riscv64/ufoded/ports/unix/unix_main.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_main.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_main.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoded] src/game/g_actor.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_actor.cpp.o src/game/g_actor.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_actor.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_actor.h:27, from src/game/g_actor.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_ai.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_ai.cpp.o src/game/g_ai.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_ai.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_ai.h:28, from src/game/g_ai.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_ai_lua.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_ai_lua.cpp.o src/game/g_ai_lua.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_ai_lua.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_ai_lua.cpp:35: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_camera.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_camera.cpp.o src/game/g_camera.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_camera.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_camera.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_client.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_client.cpp.o src/game/g_client.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_client.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_client.h:29, from src/game/g_client.cpp:40: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_cmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_cmds.cpp.o src/game/g_cmds.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_cmds.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_cmds.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_combat.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_combat.cpp.o src/game/g_combat.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_combat.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_combat.h:28, from src/game/g_combat.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_edicts.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_edicts.cpp.o src/game/g_edicts.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_edicts.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_edicts.h:31, from src/game/g_edicts.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_edicts.cpp: In function ‘Edict* G_EdictDuplicate(const Edict*)’: src/game/g_edicts.cpp:134:15: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Edict’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 134 | memcpy(duplicate, edict, sizeof(*edict)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_events.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_events.cpp.o src/game/g_events.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_events.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_events.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_func.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_func.cpp.o src/game/g_func.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_func.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_func.h:31, from src/game/g_func.cpp:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_health.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_health.cpp.o src/game/g_health.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_health.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_health.h:27, from src/game/g_health.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_inventory.cpp.o src/game/g_inventory.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_inventory.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_inventory.h:27, from src/game/g_inventory.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_main.cpp.o src/game/g_main.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_main.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_main.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_match.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_match.cpp.o src/game/g_match.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_match.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_match.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_mission.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_mission.cpp.o src/game/g_mission.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_mission.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_mission.h:31, from src/game/g_mission.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_mission.cpp: In function ‘bool G_MissionTouch(Edict*, Edict*)’: src/game/g_mission.cpp:65:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 65 | self->count = 0; | ~~~~~~~~~~~~^~~ src/game/g_mission.cpp:68:9: note: here 68 | default: | ^~~~~~~ ===> CXX [ufoded] src/game/g_morale.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_morale.cpp.o src/game/g_morale.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_morale.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_morale.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_move.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_move.cpp.o src/game/g_move.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_move.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_move.h:27, from src/game/g_move.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_reaction.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_reaction.cpp.o src/game/g_reaction.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_reaction.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_reaction.h:29, from src/game/g_reaction.cpp:74: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_round.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_round.cpp.o src/game/g_round.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_round.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_round.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_spawn.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_spawn.cpp.o src/game/g_spawn.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_spawn.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_spawn.h:31, from src/game/g_spawn.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_stats.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_stats.cpp.o src/game/g_stats.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_stats.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_stats.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_svcmds.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_svcmds.cpp.o src/game/g_svcmds.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_svcmds.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_svcmds.cpp:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ src/game/g_svcmds.cpp: In function ‘bool StringToFilter(const char*, ipfilter_t*)’: src/game/g_svcmds.cpp:101:20: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 101 | f->mask = *(unsigned *) m; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp:102:23: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 102 | f->compare = *(unsigned *) b; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘bool SV_FilterPacket(const char*)’: src/game/g_svcmds.cpp:127:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 127 | in = *(unsigned *) m; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘void SVCmd_ListIP_f()’: src/game/g_svcmds.cpp:201:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 201 | *(unsigned *) b = ipfilters[i].compare; | ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp: In function ‘void SVCmd_WriteIP_f()’: src/game/g_svcmds.cpp:229:18: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 229 | *(unsigned *) b = ipfilters[i].compare; | ^~~~~~~~~~~~~~ ===> CXX [ufoded] src/game/g_trigger.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_trigger.cpp.o src/game/g_trigger.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_trigger.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_trigger.h:31, from src/game/g_trigger.cpp:30: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_utils.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_utils.cpp.o src/game/g_utils.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_utils.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_utils.h:31, from src/game/g_utils.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/g_vis.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/g_vis.cpp.o src/game/g_vis.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/g_vis.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/g_local.h:31, from src/game/g_vis.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/game/lua/lua.h:16, from src/game/g_local.h:34: src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/g_edict.h: In member function ‘void Edict::init()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class Edict’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/g_edict.h:176:17: note: in expansion of macro ‘OBJZERO’ 176 | OBJZERO(*this); | ^~~~~~~ In file included from src/game/g_local.h:317: src/game/g_edict.h:43:7: note: ‘class Edict’ declared here 43 | class Edict { | ^~~~~ ===> CXX [ufoded] src/game/lua/lapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lapi.cpp.o src/game/lua/lapi.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lapi.cpp.o In file included from /usr/include/assert.h:35, from src/game/lua/lapi.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lapi.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lauxlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lauxlib.cpp.o src/game/lua/lauxlib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lauxlib.cpp.o In file included from /usr/include/ctype.h:25, from src/game/lua/lauxlib.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lauxlib.cpp:23: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lbaselib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lbaselib.cpp.o src/game/lua/lbaselib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lbaselib.cpp.o In file included from /usr/include/ctype.h:25, from src/game/lua/lbaselib.cpp:9: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lbaselib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lcode.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lcode.cpp.o src/game/lua/lcode.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lcode.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/game/lua/lcode.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lcode.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/lcode.cpp: In function ‘void luaK_goiftrue(FuncState*, expdesc*)’: src/game/lua/lcode.cpp:553:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 553 | if (!hasjumps(e)) { | ^~ src/game/lua/lcode.cpp:559:5: note: here 559 | default: { | ^~~~~~~ src/game/lua/lcode.cpp: In function ‘void luaK_goiffalse(FuncState*, expdesc*)’: src/game/lua/lcode.cpp:583:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 583 | if (!hasjumps(e)) { | ^~ src/game/lua/lcode.cpp:589:5: note: here 589 | default: { | ^~~~~~~ ===> CXX [ufoded] src/game/lua/ldblib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/ldblib.cpp.o src/game/lua/ldblib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/ldblib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/game/lua/ldblib.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldblib.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/ldebug.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/ldebug.cpp.o src/game/lua/ldebug.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/ldebug.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/game/lua/ldebug.cpp:10: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldebug.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/ldebug.cpp:21: src/game/lua/ldebug.cpp: In function ‘void luaG_errormsg(lua_State*)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldebug.cpp:620:21: note: in expansion of macro ‘restorestack’ 620 | StkId errfunc = restorestack(L, L->errfunc); | ^~~~~~~~~~~~ src/game/lua/ldebug.cpp: In function ‘Instruction symbexec(const Proto*, int, int)’: src/game/lua/ldebug.cpp:268:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | #define check(x) if (!(x)) return 0; | ^~ src/game/lua/ldebug.cpp:272:33: note: in expansion of macro ‘check’ 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) | ^~~~~ src/game/lua/ldebug.cpp:414:9: note: in expansion of macro ‘checkreg’ 414 | checkreg(pt, a+3); | ^~~~~~~~ src/game/lua/ldebug.cpp:416:7: note: here 416 | case OP_JMP: { | ^~~~ ===> CXX [ufoded] src/game/lua/ldo.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/ldo.cpp.o src/game/lua/ldo.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/ldo.cpp.o In file included from /usr/include/setjmp.h:25, from src/game/lua/ldo.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ldo.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/ldo.cpp:18: src/game/lua/ldo.cpp: In function ‘void luaD_callhook(lua_State*, int, int)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:202:18: note: in expansion of macro ‘restorestack’ 202 | L->ci->top = restorestack(L, ci_top); | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:203:14: note: in expansion of macro ‘restorestack’ 203 | L->top = restorestack(L, top); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘TValue* tryfuncTM(lua_State*, StkId)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:252:10: note: in expansion of macro ‘restorestack’ 252 | func = restorestack(L, funcr); /* previous call may change stack */ | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘int luaD_precall(lua_State*, StkId, int)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:277:12: note: in expansion of macro ‘restorestack’ 277 | func = restorestack(L, funcr); | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:286:14: note: in expansion of macro ‘restorestack’ 286 | func = restorestack(L, funcr); /* previous call may change the stack */ | ^~~~~~~~~~~~ src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:311:16: note: in expansion of macro ‘restorestack’ 311 | ci->func = restorestack(L, funcr); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘TValue* callrethooks(lua_State*, StkId)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:338:10: note: in expansion of macro ‘restorestack’ 338 | return restorestack(L, fr); | ^~~~~~~~~~~~ src/game/lua/ldo.cpp: In function ‘int luaD_pcall(lua_State*, Pfunc, void*, ptrdiff_t, ptrdiff_t)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:465:20: note: in expansion of macro ‘restorestack’ 465 | StkId oldtop = restorestack(L, old_top); | ^~~~~~~~~~~~ src/game/lua/ldo.h:28:34: warning: cast from ‘char*’ to ‘CallInfo*’ increases required alignment of target type [-Wcast-align] 28 | #define restoreci(L,n) ((CallInfo *)((char*)L->base_ci + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:469:13: note: in expansion of macro ‘restoreci’ 469 | L->ci = restoreci(L, old_ci); | ^~~~~~~~~ ===> CXX [ufoded] src/game/lua/ldump.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/ldump.cpp.o src/game/lua/ldump.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/ldump.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from src/game/lua/luaconf.h:11, from src/game/lua/lua.h:16, from src/game/lua/ldump.cpp:12: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ldump.cpp: In function ‘void DumpString(const TString*, DumpState*)’: src/game/lua/ldump.cpp:63:29: warning: comparing the result of pointer addition ‘(s + 24)’ and NULL [-Waddress] 63 | if (s==nullptr || getstr(s)==nullptr) ===> CXX [ufoded] src/game/lua/lfunc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lfunc.cpp.o src/game/lua/lfunc.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lfunc.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from src/game/lua/luaconf.h:11, from src/game/lua/lua.h:16, from src/game/lua/lfunc.cpp:13: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lgc.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lgc.cpp.o src/game/lua/lgc.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lgc.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/game/lua/lgc.cpp:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lgc.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/linit.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/linit.cpp.o src/game/lua/linit.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/linit.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from src/game/lua/luaconf.h:11, from src/game/lua/lua.h:16, from src/game/lua/linit.cpp:11: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/liolib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/liolib.cpp.o src/game/lua/liolib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/liolib.cpp.o In file included from /usr/include/errno.h:25, from src/game/lua/liolib.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/liolib.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/llex.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/llex.cpp.o src/game/lua/llex.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/llex.cpp.o In file included from /usr/include/ctype.h:25, from src/game/lua/llex.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/llex.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/llex.cpp: In function ‘int llex(LexState*, SemInfo*)’: src/game/lua/llex.cpp:375:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 375 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/llex.cpp:377:7: note: here 377 | case '=': { | ^~~~ ===> CXX [ufoded] src/game/lua/lmathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lmathlib.cpp.o src/game/lua/lmathlib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lmathlib.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/game/lua/lmathlib.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lmathlib.cpp:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lmem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lmem.cpp.o src/game/lua/lmem.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lmem.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from src/game/lua/luaconf.h:11, from src/game/lua/lua.h:16, from src/game/lua/lmem.cpp:13: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/loadlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/loadlib.cpp.o src/game/lua/loadlib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/loadlib.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/game/lua/loadlib.cpp:12: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/loadlib.cpp:19: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lobject.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lobject.cpp.o src/game/lua/lobject.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lobject.cpp.o In file included from /usr/include/ctype.h:25, from src/game/lua/lobject.cpp:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lobject.cpp:16: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lopcodes.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lopcodes.cpp.o src/game/lua/lopcodes.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lopcodes.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from src/game/lua/llimits.h:11, from src/game/lua/lopcodes.h:10, from src/game/lua/lopcodes.cpp:11: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/llimits.h:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/loslib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/loslib.cpp.o src/game/lua/loslib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/loslib.cpp.o In file included from /usr/include/errno.h:25, from src/game/lua/loslib.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/loslib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lparser.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lparser.cpp.o src/game/lua/lparser.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lparser.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/game/lua/lparser.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lparser.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lstate.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lstate.cpp.o src/game/lua/lstate.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lstate.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from src/game/lua/luaconf.h:11, from src/game/lua/lua.h:16, from src/game/lua/lstate.cpp:13: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/lobject.h:15, from src/game/lua/lstate.h:12, from src/game/lua/ldebug.h:11, from src/game/lua/lstate.cpp:15: src/game/lua/lstate.cpp: In function ‘lua_State* luaE_newthread(lua_State*)’: src/game/lua/llimits.h:75:26: warning: cast from ‘lu_byte*’ {aka ‘unsigned char*’} to ‘lua_State*’ increases required alignment of target type [-Wcast-align] 75 | #define cast(t, exp) ((t)(exp)) | ^~~~~~~~ src/game/lua/lstate.cpp:29:23: note: in expansion of macro ‘cast’ 29 | #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) | ^~~~ src/game/lua/lstate.cpp:120:19: note: in expansion of macro ‘tostate’ 120 | lua_State *L1 = tostate(luaM_malloc(L, state_size(lua_State))); | ^~~~~~~ src/game/lua/lstate.cpp: In function ‘lua_State* lua_newstate(lua_Alloc, void*)’: src/game/lua/llimits.h:75:26: warning: cast from ‘lu_byte*’ {aka ‘unsigned char*’} to ‘lua_State*’ increases required alignment of target type [-Wcast-align] 75 | #define cast(t, exp) ((t)(exp)) | ^~~~~~~~ src/game/lua/lstate.cpp:29:23: note: in expansion of macro ‘cast’ 29 | #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) | ^~~~ src/game/lua/lstate.cpp:149:7: note: in expansion of macro ‘tostate’ 149 | L = tostate(l); | ^~~~~~~ ===> CXX [ufoded] src/game/lua/lstring.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lstring.cpp.o src/game/lua/lstring.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lstring.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/game/lua/lstring.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstring.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lstrlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lstrlib.cpp.o src/game/lua/lstrlib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lstrlib.cpp.o In file included from /usr/include/ctype.h:25, from src/game/lua/lstrlib.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstrlib.cpp:17: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/ltable.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/ltable.cpp.o src/game/lua/ltable.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/ltable.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/bits/requires_hosted.h:31, from /usr/include/c++/13/cmath:41, from /usr/include/c++/13/math.h:36, from src/game/lua/ltable.cpp:21: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltable.cpp:27: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ltable.cpp: In function ‘TValue* luaH_get(Table*, const TValue*)’: src/game/lua/ltable.cpp:480:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 480 | } | ^ src/game/lua/ltable.cpp:481:5: note: here 481 | default: { | ^~~~~~~ ===> CXX [ufoded] src/game/lua/ltablib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/ltablib.cpp.o src/game/lua/ltablib.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/ltablib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from src/game/lua/luaconf.h:11, from src/game/lua/lua.h:16, from src/game/lua/ltablib.cpp:13: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ src/game/lua/ltablib.cpp: In function ‘void addfield(lua_State*, luaL_Buffer*, int)’: src/game/lua/ltablib.cpp:137:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 137 | if (!lua_isstring(L, -1)) | ^~ src/game/lua/ltablib.cpp:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 140 | luaL_addvalue(b); | ^~~~~~~~~~~~~ ===> CXX [ufoded] src/game/lua/ltm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/ltm.cpp.o src/game/lua/ltm.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/ltm.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/game/lua/ltm.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/ltm.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lundump.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lundump.cpp.o src/game/lua/lundump.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lundump.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/game/lua/lundump.cpp:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lundump.cpp:12: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/lvm.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lvm.cpp.o src/game/lua/lvm.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lvm.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/game/lua/lvm.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lvm.cpp:15: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ In file included from src/game/lua/lvm.cpp:18: src/game/lua/lvm.cpp: In function ‘void callTMres(lua_State*, StkId, const TValue*, const TValue*, const TValue*)’: src/game/lua/ldo.h:25:34: warning: cast from ‘char*’ to ‘TValue*’ {aka ‘lua_TValue*’} increases required alignment of target type [-Wcast-align] 25 | #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/lvm.cpp:89:9: note: in expansion of macro ‘restorestack’ 89 | res = restorestack(L, result); | ^~~~~~~~~~~~ ===> CXX [ufoded] src/game/lua/lzio.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/lzio.cpp.o src/game/lua/lzio.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/lzio.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/game/lua/lzio.cpp:8: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lzio.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/lua/print.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/lua/print.cpp.o src/game/lua/print.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/lua/print.cpp.o In file included from /usr/include/ctype.h:25, from src/game/lua/print.cpp:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/lua/luaconf.h:14, from src/game/lua/lua.h:16, from src/game/lua/lstate.h:10, from src/game/lua/ldebug.h:11, from src/game/lua/print.cpp:13: src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/lua/luaconf.h:187:23: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 187 | #elif GCC_ATLEAST(3, 2) && defined __ELF__ | ^ ===> CXX [ufoded] src/game/inventory.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/riscv64-linux-gnu -c -o release-linux-riscv64/ufoded/game/inventory.cpp.o src/game/inventory.cpp -MP -MD -MT release-linux-riscv64/ufoded/game/inventory.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/game/../shared/ufotypes.h:32, from src/game/q_shared.h:33, from src/game/inventory.h:30, from src/game/inventory.cpp:25: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/game/../shared/shared.h:54, from src/game/q_shared.h:34: src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/game/inventory.cpp: In member function ‘void InventoryInterface::initInventory(const char*, const csi_t*, const inventoryImport_t*)’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class InventoryInterface’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/inventory.cpp:994:9: note: in expansion of macro ‘OBJZERO’ 994 | OBJZERO(*this); | ^~~~~~~ src/game/inventory.h:40:7: note: ‘class InventoryInterface’ declared here 40 | class InventoryInterface | ^~~~~~~~~~~~~~~~~~ src/game/inventory.cpp: In member function ‘void InventoryInterface::destroyInventoryInterface()’: src/game/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class InventoryInterface’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/game/inventory.cpp:1008:9: note: in expansion of macro ‘OBJZERO’ 1008 | OBJZERO(*this); | ^~~~~~~ src/game/inventory.h:40:7: note: ‘class InventoryInterface’ declared here 40 | class InventoryInterface | ^~~~~~~~~~~~~~~~~~ ===> LD [ufoded] mkdir -p ./ "c++" release-linux-riscv64/ufoded/common/cmd.cpp.o release-linux-riscv64/ufoded/common/http.cpp.o release-linux-riscv64/ufoded/common/ioapi.cpp.o release-linux-riscv64/ufoded/common/unzip.cpp.o release-linux-riscv64/ufoded/common/bsp.cpp.o release-linux-riscv64/ufoded/common/grid.cpp.o release-linux-riscv64/ufoded/common/cmodel.cpp.o release-linux-riscv64/ufoded/common/common.cpp.o release-linux-riscv64/ufoded/common/cvar.cpp.o release-linux-riscv64/ufoded/common/files.cpp.o release-linux-riscv64/ufoded/common/list.cpp.o release-linux-riscv64/ufoded/common/md4.cpp.o release-linux-riscv64/ufoded/common/md5.cpp.o release-linux-riscv64/ufoded/common/mem.cpp.o release-linux-riscv64/ufoded/common/msg.cpp.o release-linux-riscv64/ufoded/common/dbuffer.cpp.o release-linux-riscv64/ufoded/common/net.cpp.o release-linux-riscv64/ufoded/common/netpack.cpp.o release-linux-riscv64/ufoded/common/pqueue.cpp.o release-linux-riscv64/ufoded/common/scripts.cpp.o release-linux-riscv64/ufoded/common/sha1.cpp.o release-linux-riscv64/ufoded/common/sha2.cpp.o release-linux-riscv64/ufoded/common/tracing.cpp.o release-linux-riscv64/ufoded/common/routing.cpp.o release-linux-riscv64/ufoded/server/sv_ccmds.cpp.o release-linux-riscv64/ufoded/server/sv_game.cpp.o release-linux-riscv64/ufoded/server/sv_init.cpp.o release-linux-riscv64/ufoded/server/sv_log.cpp.o release-linux-riscv64/ufoded/server/sv_main.cpp.o release-linux-riscv64/ufoded/server/sv_mapcycle.cpp.o release-linux-riscv64/ufoded/server/sv_rma.cpp.o release-linux-riscv64/ufoded/server/sv_send.cpp.o release-linux-riscv64/ufoded/server/sv_user.cpp.o release-linux-riscv64/ufoded/server/sv_world.cpp.o release-linux-riscv64/ufoded/server/sv_clientstub.cpp.o release-linux-riscv64/ufoded/shared/bfd.cpp.o release-linux-riscv64/ufoded/shared/byte.cpp.o release-linux-riscv64/ufoded/shared/stringhunk.cpp.o release-linux-riscv64/ufoded/shared/infostring.cpp.o release-linux-riscv64/ufoded/shared/mathlib.cpp.o release-linux-riscv64/ufoded/shared/aabb.cpp.o release-linux-riscv64/ufoded/shared/parse.cpp.o release-linux-riscv64/ufoded/shared/shared.cpp.o release-linux-riscv64/ufoded/shared/utf8.cpp.o release-linux-riscv64/ufoded/game/q_shared.cpp.o release-linux-riscv64/ufoded/game/inv_shared.cpp.o release-linux-riscv64/ufoded/game/chr_shared.cpp.o release-linux-riscv64/ufoded/ports/linux/linux_main.cpp.o release-linux-riscv64/ufoded/ports/unix/unix_console.cpp.o release-linux-riscv64/ufoded/ports/unix/unix_files.cpp.o release-linux-riscv64/ufoded/ports/unix/unix_shared.cpp.o release-linux-riscv64/ufoded/ports/unix/unix_main.cpp.o release-linux-riscv64/ufoded/game/g_actor.cpp.o release-linux-riscv64/ufoded/game/g_ai.cpp.o release-linux-riscv64/ufoded/game/g_ai_lua.cpp.o release-linux-riscv64/ufoded/game/g_camera.cpp.o release-linux-riscv64/ufoded/game/g_client.cpp.o release-linux-riscv64/ufoded/game/g_cmds.cpp.o release-linux-riscv64/ufoded/game/g_combat.cpp.o release-linux-riscv64/ufoded/game/g_edicts.cpp.o release-linux-riscv64/ufoded/game/g_events.cpp.o release-linux-riscv64/ufoded/game/g_func.cpp.o release-linux-riscv64/ufoded/game/g_health.cpp.o release-linux-riscv64/ufoded/game/g_inventory.cpp.o release-linux-riscv64/ufoded/game/g_main.cpp.o release-linux-riscv64/ufoded/game/g_match.cpp.o release-linux-riscv64/ufoded/game/g_mission.cpp.o release-linux-riscv64/ufoded/game/g_morale.cpp.o release-linux-riscv64/ufoded/game/g_move.cpp.o release-linux-riscv64/ufoded/game/g_reaction.cpp.o release-linux-riscv64/ufoded/game/g_round.cpp.o release-linux-riscv64/ufoded/game/g_spawn.cpp.o release-linux-riscv64/ufoded/game/g_stats.cpp.o release-linux-riscv64/ufoded/game/g_svcmds.cpp.o release-linux-riscv64/ufoded/game/g_trigger.cpp.o release-linux-riscv64/ufoded/game/g_utils.cpp.o release-linux-riscv64/ufoded/game/g_vis.cpp.o release-linux-riscv64/ufoded/game/lua/lapi.cpp.o release-linux-riscv64/ufoded/game/lua/lauxlib.cpp.o release-linux-riscv64/ufoded/game/lua/lbaselib.cpp.o release-linux-riscv64/ufoded/game/lua/lcode.cpp.o release-linux-riscv64/ufoded/game/lua/ldblib.cpp.o release-linux-riscv64/ufoded/game/lua/ldebug.cpp.o release-linux-riscv64/ufoded/game/lua/ldo.cpp.o release-linux-riscv64/ufoded/game/lua/ldump.cpp.o release-linux-riscv64/ufoded/game/lua/lfunc.cpp.o release-linux-riscv64/ufoded/game/lua/lgc.cpp.o release-linux-riscv64/ufoded/game/lua/linit.cpp.o release-linux-riscv64/ufoded/game/lua/liolib.cpp.o release-linux-riscv64/ufoded/game/lua/llex.cpp.o release-linux-riscv64/ufoded/game/lua/lmathlib.cpp.o release-linux-riscv64/ufoded/game/lua/lmem.cpp.o release-linux-riscv64/ufoded/game/lua/loadlib.cpp.o release-linux-riscv64/ufoded/game/lua/lobject.cpp.o release-linux-riscv64/ufoded/game/lua/lopcodes.cpp.o release-linux-riscv64/ufoded/game/lua/loslib.cpp.o release-linux-riscv64/ufoded/game/lua/lparser.cpp.o release-linux-riscv64/ufoded/game/lua/lstate.cpp.o release-linux-riscv64/ufoded/game/lua/lstring.cpp.o release-linux-riscv64/ufoded/game/lua/lstrlib.cpp.o release-linux-riscv64/ufoded/game/lua/ltable.cpp.o release-linux-riscv64/ufoded/game/lua/ltablib.cpp.o release-linux-riscv64/ufoded/game/lua/ltm.cpp.o release-linux-riscv64/ufoded/game/lua/lundump.cpp.o release-linux-riscv64/ufoded/game/lua/lvm.cpp.o release-linux-riscv64/ufoded/game/lua/lzio.cpp.o release-linux-riscv64/ufoded/game/lua/print.cpp.o release-linux-riscv64/ufoded/game/inventory.cpp.o -lSDL2 -lcurl -ldl -lz -lm -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o ufoded /usr/bin/ld: release-linux-riscv64/ufoded/game/lua/loslib.cpp.o: in function `os_tmpname(lua_State*)': /usr/src/ufoai-2.5-7build3/src/game/lua/loslib.cpp:60:(.text+0x2ce): warning: the use of `tmpnam' is dangerous, better use `mkstemp' mkdir -p release-linux-riscv64/ufomodel/tools/ufomodel/ release-linux-riscv64/ufomodel/tools/ufomodel/ release-linux-riscv64/ufomodel/shared/ release-linux-riscv64/ufomodel/shared/ release-linux-riscv64/ufomodel/shared/ release-linux-riscv64/ufomodel/shared/ release-linux-riscv64/ufomodel/shared/ release-linux-riscv64/ufomodel/shared/ release-linux-riscv64/ufomodel/shared/ release-linux-riscv64/ufomodel/common/ release-linux-riscv64/ufomodel/common/ release-linux-riscv64/ufomodel/common/ release-linux-riscv64/ufomodel/common/ release-linux-riscv64/ufomodel/common/ release-linux-riscv64/ufomodel/client/renderer/ release-linux-riscv64/ufomodel/client/renderer/ release-linux-riscv64/ufomodel/client/renderer/ release-linux-riscv64/ufomodel/client/renderer/ release-linux-riscv64/ufomodel/client/renderer/ release-linux-riscv64/ufomodel/ports/unix/ release-linux-riscv64/ufomodel/ports/unix/ release-linux-riscv64/ufomodel/ports/unix/ touch release-linux-riscv64/ufomodel/.dirs ===> CXX [ufomodel] src/tools/ufomodel/ufomodel.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/tools/ufomodel/ufomodel.cpp.o src/tools/ufomodel/ufomodel.cpp -MP -MD -MT release-linux-riscv64/ufomodel/tools/ufomodel/ufomodel.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufomodel/../../shared/ufotypes.h:32, from src/tools/ufomodel/ufomodel.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufomodel/../../shared/shared.h:54, from src/tools/ufomodel/ufomodel.cpp:28: src/tools/ufomodel/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufomodel/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufomodel/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufomodel/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/tools/ufomodel/../../client/renderer/r_state.h:28, from src/tools/ufomodel/ufomodel.cpp:37: src/tools/ufomodel/../../client/renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/tools/ufomodel/../../client/renderer/r_gl.h:32, from src/tools/ufomodel/ufomodel.cpp:33: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/tools/ufomodel/../../client/renderer/r_entity.h: In member function ‘void entity_s::init()’: src/tools/ufomodel/../../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tools/ufomodel/../../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/tools/ufomodel/../../client/renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/tools/ufomodel/../../client/renderer/r_model.h:30, from src/tools/ufomodel/ufomodel.cpp:36: src/tools/ufomodel/../../client/renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from /usr/include/SDL2/SDL_pixels.h:32, from /usr/include/SDL2/SDL_video.h:32, from src/tools/ufomodel/../../shared/images.h:31, from src/tools/ufomodel/ufomodel.cpp:38: src/tools/ufomodel/ufomodel.cpp: In function ‘model_t* LoadModel(const char*)’: src/tools/ufomodel/ufomodel.cpp:205:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 205 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/tools/ufomodel/ufomodel.cpp:205:17: note: in expansion of macro ‘LittleLong’ 205 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ src/tools/ufomodel/ufomodel.cpp: In function ‘void ModelWorker(modelWorker_t, const char*, void*)’: src/tools/ufomodel/ufomodel.cpp:416:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 416 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/tools/ufomodel/ufomodel.cpp:416:17: note: in expansion of macro ‘LittleLong’ 416 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ src/tools/ufomodel/ufomodel.cpp: In function ‘void MD2SkinFix(const byte*, const char*, int, void*)’: src/tools/ufomodel/ufomodel.cpp:438:34: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 438 | const dMD2Model_t* md2 = (const dMD2Model_t*)buf; | ^~~~~~~~~~~~~~~~~~~~~~~ src/tools/ufomodel/ufomodel.cpp:471:36: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 471 | fixedMD2 = (dMD2Model_t*)model; | ^~~~~~~~~~~~~~~~~~~ src/tools/ufomodel/ufomodel.cpp: In function ‘void MD2Check(const byte*, const char*, int, void*)’: src/tools/ufomodel/ufomodel.cpp:504:34: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 504 | const dMD2Model_t* md2 = (const dMD2Model_t*)buf; | ^~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufomodel] src/tools/ufomodel/md2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/tools/ufomodel/md2.cpp.o src/tools/ufomodel/md2.cpp -MP -MD -MT release-linux-riscv64/ufomodel/tools/ufomodel/md2.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufomodel/../../shared/ufotypes.h:32, from src/tools/ufomodel/md2.h:3, from src/tools/ufomodel/md2.cpp:1: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufomodel/../../shared/shared.h:54, from src/tools/ufomodel/md2.cpp:4: src/tools/ufomodel/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufomodel/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufomodel/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufomodel/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufomodel/md2.cpp: In function ‘void MD2SkinEdit(const byte*, const char*, int, void*)’: src/tools/ufomodel/md2.cpp:43:28: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 43 | dMD2Model_t* md2 = (dMD2Model_t*)copy; | ^~~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp: In function ‘void MD2Info(const byte*, const char*, int, void*)’: src/tools/ufomodel/md2.cpp:73:34: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 73 | const dMD2Model_t* md2 = (const dMD2Model_t*)buf; | ^~~~~~~~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp: In function ‘void MD2SkinNum(const byte*, const char*, int, void*)’: src/tools/ufomodel/md2.cpp:123:28: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 123 | dMD2Model_t* md2 = (dMD2Model_t*)copy; | ^~~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp:182:23: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 182 | md2 = (dMD2Model_t*)copy; | ^~~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp: In function ‘void MD2GLCmdsRemove(const byte*, const char*, int, void*)’: src/tools/ufomodel/md2.cpp:216:34: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 216 | const dMD2Model_t* md2 = (const dMD2Model_t*)buf; | ^~~~~~~~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp:224:47: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 224 | dMD2Model_t* const fixedMD2 = (dMD2Model_t*)copy; | ^~~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp: In function ‘void MD2SkinEdit(const byte*, const char*, int, void*)’: src/tools/ufomodel/md2.cpp:57:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 57 | scanf(va("%%%is", MD2_MAX_SKINNAME), name); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp: In function ‘void MD2SkinNum(const byte*, const char*, int, void*)’: src/tools/ufomodel/md2.cpp:149:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 149 | scanf("%i", &newSkins); | ~~~~~^~~~~~~~~~~~~~~~~ src/tools/ufomodel/md2.cpp:199:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 199 | scanf(va("%%%is", MD2_MAX_SKINNAME), name); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufomodel] src/shared/mathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/shared/mathlib.cpp.o src/shared/mathlib.cpp -MP -MD -MT release-linux-riscv64/ufomodel/shared/mathlib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/mathlib.h:27, from src/shared/mathlib.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/mathlib.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/mathlib.cpp: In function ‘void RotatePointAroundVector(vec_t*, const vec_t*, const vec_t*, float)’: src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ===> CXX [ufomodel] src/shared/aabb.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/shared/aabb.cpp.o src/shared/aabb.cpp -MP -MD -MT release-linux-riscv64/ufomodel/shared/aabb.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/aabb.h:27, from src/shared/aabb.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/shared/byte.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/shared/byte.cpp.o src/shared/byte.cpp -MP -MD -MT release-linux-riscv64/ufomodel/shared/byte.cpp.o In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:34, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/byte.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufomodel] src/shared/images.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/shared/images.cpp.o src/shared/images.cpp -MP -MD -MT release-linux-riscv64/ufomodel/shared/images.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/images.h:29, from src/shared/images.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54, from src/shared/images.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufomodel] src/shared/parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/shared/parse.cpp.o src/shared/parse.cpp -MP -MD -MT release-linux-riscv64/ufomodel/shared/parse.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/parse.h:30, from src/shared/parse.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/parse.h:31: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufomodel] src/shared/shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/shared/shared.cpp.o src/shared/shared.cpp -MP -MD -MT release-linux-riscv64/ufomodel/shared/shared.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/shared/../../config.h:3, from src/shared/shared.h:32, from src/shared/shared.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/shared.cpp: In function ‘int Com_FilterAfterStar(const char*, const char*)’: src/shared/shared.cpp:108:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:108:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:109:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^ src/shared/shared.cpp:109:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^~ src/shared/shared.cpp: In function ‘int Com_Filter(const char*, const char*)’: src/shared/shared.cpp:147:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:147:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:148:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 148 | register char c; | ^ src/shared/shared.cpp:169:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | register char c1 = *t++; | ^~ src/shared/shared.cpp:181:55: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~~~ src/shared/shared.cpp:181:67: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~ ===> CXX [ufomodel] src/shared/utf8.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/shared/utf8.cpp.o src/shared/utf8.cpp -MP -MD -MT release-linux-riscv64/ufomodel/shared/utf8.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/shared/utf8.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/common/files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/common/files.cpp.o src/common/files.cpp -MP -MD -MT release-linux-riscv64/ufomodel/common/files.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/files.cpp:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufomodel] src/common/list.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/common/list.cpp.o src/common/list.cpp -MP -MD -MT release-linux-riscv64/ufomodel/common/list.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/list.h:28, from src/common/list.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/list.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufomodel] src/common/mem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/common/mem.cpp.o src/common/mem.cpp -MP -MD -MT release-linux-riscv64/ufomodel/common/mem.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/mem.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/mem.cpp: In function ‘memBlockFoot_t* Mem_BlockToFooter(memBlock_t*)’: src/common/mem.cpp:177:16: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘memBlockFoot_t*’ increases required alignment of target type [-Wcast-align] 177 | return reinterpret_cast(reinterpret_cast(Mem_BlockToPtr(mem)) + mem->memSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufomodel] src/common/unzip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/common/unzip.cpp.o src/common/unzip.cpp -MP -MD -MT release-linux-riscv64/ufomodel/common/unzip.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from /usr/include/zconf.h:428, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/common/ioapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/common/ioapi.cpp.o src/common/ioapi.cpp -MP -MD -MT release-linux-riscv64/ufomodel/common/ioapi.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/common/ioapi.cpp:9: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/client/renderer/r_model.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/client/renderer/r_model.cpp.o src/client/renderer/r_model.cpp -MP -MD -MT release-linux-riscv64/ufomodel/client/renderer/r_model.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/client/renderer/../../common/../shared/ufotypes.h:32, from src/client/renderer/../../common/common.h:28, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/renderer/../../common/../shared/byte.h:30, from src/client/renderer/../../common/common.h:29: src/client/renderer/r_model.cpp: In function ‘bool R_LoadModel(model_t*, const char*)’: src/client/renderer/r_model.cpp:133:29: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘unsigned int*’ increases required alignment of target type [-Wcast-align] 133 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/renderer/r_model.cpp:133:17: note: in expansion of macro ‘LittleLong’ 133 | switch (LittleLong(*(unsigned *) buf)) { | ^~~~~~~~~~ ===> CXX [ufomodel] src/client/renderer/r_model_alias.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/client/renderer/r_model_alias.cpp.o src/client/renderer/r_model_alias.cpp -MP -MD -MT release-linux-riscv64/ufomodel/client/renderer/r_model_alias.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/client/renderer/../../common/../shared/ufotypes.h:32, from src/client/renderer/../../common/common.h:28, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_alias.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ In file included from src/client/renderer/../../common/../shared/byte.h:30, from src/client/renderer/../../common/common.h:29: src/client/renderer/r_model_alias.cpp: In function ‘bool R_ModLoadMDX(model_t*)’: src/client/renderer/r_model_alias.cpp:256:39: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 256 | version = LittleLong(*(uint32_t*) buffer); | ^~~~~~~~~~~~~~~~~~ /usr/include/SDL2/SDL_endian.h:321:30: note: in definition of macro ‘SDL_SwapLE32’ 321 | #define SDL_SwapLE32(X) (X) | ^ src/client/renderer/r_model_alias.cpp:256:27: note: in expansion of macro ‘LittleLong’ 256 | version = LittleLong(*(uint32_t*) buffer); | ^~~~~~~~~~ src/client/renderer/r_model_alias.cpp:264:26: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const int32_t*’ {aka ‘const int*’} increases required alignment of target type [-Wcast-align] 264 | intbuf = (const int32_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufomodel] src/client/renderer/r_model_md2.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/client/renderer/r_model_md2.cpp.o src/client/renderer/r_model_md2.cpp -MP -MD -MT release-linux-riscv64/ufomodel/client/renderer/r_model_md2.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/client/renderer/../../common/../shared/ufotypes.h:32, from src/client/renderer/../../common/common.h:28, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_md2.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadTags(model_t*, void*, int)’: src/client/renderer/r_model_md2.cpp:65:17: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 65 | inmat = (float*) ((byte*) pintag + pheader.ofs_tags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2MeshUnindexed(model_t*, const dMD2Model_t*, int, bool)’: src/client/renderer/r_model_md2.cpp:177:18: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Triangle_t*’ increases required alignment of target type [-Wcast-align] 177 | pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:178:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Coord_t*’ increases required alignment of target type [-Wcast-align] 178 | pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:247:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 247 | const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2MeshIndexed(model_t*, const dMD2Model_t*, int)’: src/client/renderer/r_model_md2.cpp:349:18: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Triangle_t*’ increases required alignment of target type [-Wcast-align] 349 | pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:350:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Coord_t*’ increases required alignment of target type [-Wcast-align] 350 | pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:383:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dMD2Frame_t*’ {aka ‘const dAliasFrame_s*’} increases required alignment of target type [-Wcast-align] 383 | const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadLevelOfDetailData(model_t*, bool)’: src/client/renderer/r_model_md2.cpp:481:31: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘const dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 481 | md2 = (const dMD2Model_t*) buf; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp: In function ‘void R_ModLoadAliasMD2Model(model_t*, byte*, int, bool)’: src/client/renderer/r_model_md2.cpp:500:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dMD2Model_t*’ increases required alignment of target type [-Wcast-align] 500 | md2 = (dMD2Model_t*) buffer; | ^~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufomodel] src/client/renderer/r_model_md3.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/client/renderer/r_model_md3.cpp.o src/client/renderer/r_model_md3.cpp -MP -MD -MT release-linux-riscv64/ufomodel/client/renderer/r_model_md3.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/client/renderer/../../common/../shared/ufotypes.h:32, from src/client/renderer/../../common/common.h:28, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_md3.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ src/client/renderer/r_model_md3.cpp: In function ‘void R_ModLoadAliasMD3Model(model_t*, byte*, int)’: src/client/renderer/r_model_md3.cpp:47:15: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘dmd3_t*’ increases required alignment of target type [-Wcast-align] 47 | md3 = (dmd3_t*)buffer; | ^~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:77:20: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3frame_t*’ increases required alignment of target type [-Wcast-align] 77 | pinframe = (const dmd3frame_t*)((const byte*)md3 + LittleLong(md3->ofs_frames)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:98:43: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3tag_t*’ increases required alignment of target type [-Wcast-align] 98 | const dmd3tag_t* pintag = (const dmd3tag_t*)((const byte*)md3 + LittleLong(md3->ofs_tags)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:117:19: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3mesh_t*’ increases required alignment of target type [-Wcast-align] 117 | pinmesh = (const dmd3mesh_t*)((const byte*)md3 + LittleLong(md3->ofs_meshes)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:148:45: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3skin_t*’ increases required alignment of target type [-Wcast-align] 148 | const dmd3skin_t* pinskin = (const dmd3skin_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_skins)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:158:43: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const int32_t*’ {aka ‘const int*’} increases required alignment of target type [-Wcast-align] 158 | const int32_t* pinindex = (const int32_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tris)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:168:47: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3coord_t*’ increases required alignment of target type [-Wcast-align] 168 | const dmd3coord_t* pincoord = (const dmd3coord_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tcs)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:177:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3vertex_t*’ increases required alignment of target type [-Wcast-align] 177 | pinvert = (const dmd3vertex_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_verts)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:200:27: warning: cast from ‘const byte*’ {aka ‘const unsigned char*’} to ‘const dmd3mesh_t*’ increases required alignment of target type [-Wcast-align] 200 | pinmesh = (const dmd3mesh_t*)((const byte*)pinmesh + LittleLong(pinmesh->meshsize)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufomodel] src/client/renderer/r_model_obj.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/client/renderer/r_model_obj.cpp.o src/client/renderer/r_model_obj.cpp -MP -MD -MT release-linux-riscv64/ufomodel/client/renderer/r_model_obj.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/client/renderer/../../common/../shared/ufotypes.h:32, from src/client/renderer/../../common/common.h:28, from src/client/renderer/r_local.h:28, from src/client/renderer/r_model_obj.cpp:55: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/renderer/../../common/../shared/shared.h:54, from src/client/renderer/../../common/common.h:30: src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from src/client/renderer/../cl_renderer.h:29, from src/client/renderer/r_local.h:30: src/client/renderer/../renderer/r_program.h:33: warning: "GL_UNIFORM" redefined 33 | #define GL_UNIFORM 1 | In file included from /usr/include/SDL2/SDL_opengl.h:2105, from src/client/renderer/../renderer/r_gl.h:32, from src/client/renderer/../renderer/r_image.h:28, from src/client/renderer/../cl_renderer.h:27: /usr/include/SDL2/SDL_opengl_glext.h:2644: note: this is the location of the previous definition 2644 | #define GL_UNIFORM 0x92E1 | src/client/renderer/../renderer/r_entity.h: In member function ‘void entity_s::init()’: src/client/renderer/../../common/../shared/shared.h:176:33: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct entity_s’; use assignment or value-initialization instead [-Wclass-memaccess] 176 | #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/shared.h:177:26: note: in expansion of macro ‘OBJSET’ 177 | #define OBJZERO(obj) OBJSET((obj), 0) | ^~~~~~ src/client/renderer/../renderer/r_entity.h:111:17: note: in expansion of macro ‘OBJZERO’ 111 | OBJZERO(*this); | ^~~~~~~ In file included from src/client/renderer/../renderer/r_model.h:30, from src/client/renderer/../cl_renderer.h:28: src/client/renderer/../renderer/r_entity.h:77:16: note: ‘struct entity_s’ declared here 77 | typedef struct entity_s { | ^~~~~~~~ ===> CXX [ufomodel] src/ports/unix/unix_files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/ports/unix/unix_files.cpp.o src/ports/unix/unix_files.cpp -MP -MD -MT release-linux-riscv64/ufomodel/ports/unix/unix_files.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_files.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_files.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufomodel] src/ports/unix/unix_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/ports/unix/unix_shared.cpp.o src/ports/unix/unix_shared.cpp -MP -MD -MT release-linux-riscv64/ufomodel/ports/unix/unix_shared.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_shared.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_shared.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_shared.cpp: In function ‘void Sys_OpenURL(const char*)’: src/ports/unix/unix_shared.cpp:205:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | system(buf); | ~~~~~~^~~~~ ===> CXX [ufomodel] src/ports/unix/unix_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -ffloat-store -c -o release-linux-riscv64/ufomodel/ports/unix/unix_main.cpp.o src/ports/unix/unix_main.cpp -MP -MD -MT release-linux-riscv64/ufomodel/ports/unix/unix_main.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_main.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_main.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> LD [ufomodel] mkdir -p ./ "c++" release-linux-riscv64/ufomodel/tools/ufomodel/ufomodel.cpp.o release-linux-riscv64/ufomodel/tools/ufomodel/md2.cpp.o release-linux-riscv64/ufomodel/shared/mathlib.cpp.o release-linux-riscv64/ufomodel/shared/aabb.cpp.o release-linux-riscv64/ufomodel/shared/byte.cpp.o release-linux-riscv64/ufomodel/shared/images.cpp.o release-linux-riscv64/ufomodel/shared/parse.cpp.o release-linux-riscv64/ufomodel/shared/shared.cpp.o release-linux-riscv64/ufomodel/shared/utf8.cpp.o release-linux-riscv64/ufomodel/common/files.cpp.o release-linux-riscv64/ufomodel/common/list.cpp.o release-linux-riscv64/ufomodel/common/mem.cpp.o release-linux-riscv64/ufomodel/common/unzip.cpp.o release-linux-riscv64/ufomodel/common/ioapi.cpp.o release-linux-riscv64/ufomodel/client/renderer/r_model.cpp.o release-linux-riscv64/ufomodel/client/renderer/r_model_alias.cpp.o release-linux-riscv64/ufomodel/client/renderer/r_model_md2.cpp.o release-linux-riscv64/ufomodel/client/renderer/r_model_md3.cpp.o release-linux-riscv64/ufomodel/client/renderer/r_model_obj.cpp.o release-linux-riscv64/ufomodel/ports/unix/unix_files.cpp.o release-linux-riscv64/ufomodel/ports/unix/unix_shared.cpp.o release-linux-riscv64/ufomodel/ports/unix/unix_main.cpp.o -lpng -ljpeg -lz -lm -lSDL2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o ufomodel mkdir -p release-linux-riscv64/ufoslicer/tools/ release-linux-riscv64/ufoslicer/common/ release-linux-riscv64/ufoslicer/common/ release-linux-riscv64/ufoslicer/common/ release-linux-riscv64/ufoslicer/common/ release-linux-riscv64/ufoslicer/common/ release-linux-riscv64/ufoslicer/common/ release-linux-riscv64/ufoslicer/tools/ufo2map/common/ release-linux-riscv64/ufoslicer/tools/ufo2map/common/ release-linux-riscv64/ufoslicer/shared/ release-linux-riscv64/ufoslicer/shared/ release-linux-riscv64/ufoslicer/shared/ release-linux-riscv64/ufoslicer/shared/ release-linux-riscv64/ufoslicer/shared/ release-linux-riscv64/ufoslicer/shared/ release-linux-riscv64/ufoslicer/shared/ release-linux-riscv64/ufoslicer/ports/unix/ release-linux-riscv64/ufoslicer/ports/unix/ release-linux-riscv64/ufoslicer/ports/unix/ touch release-linux-riscv64/ufoslicer/.dirs ===> CXX [ufoslicer] src/tools/ufoslicer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/tools/ufoslicer.cpp.o src/tools/ufoslicer.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/tools/ufoslicer.cpp.o In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:34, from /usr/include/SDL2/SDL_main.h:25, from src/tools/ufoslicer.cpp:7: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/../common/../shared/shared.h:54, from src/tools/../common/bspslicer.h:7, from src/tools/ufoslicer.cpp:8: src/tools/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/common/bspslicer.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/common/bspslicer.cpp.o src/common/bspslicer.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/common/bspslicer.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/common/../shared/../../config.h:3, from src/common/../shared/shared.h:32, from src/common/bspslicer.h:7, from src/common/bspslicer.cpp:6: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In function ‘void SL_SliceTheWorld(const dMapTile_t*, const vec_t*, const vec_t*, float, int, bool, bool)’, inlined from ‘void SL_BSPSlice(const dMapTile_t*, float, int, bool, bool)’ at src/common/bspslicer.cpp:336:18: src/common/bspslicer.cpp:266:48: warning: ‘intersectPoint[0]’ may be used uninitialized [-Wmaybe-uninitialized] 266 | lineX1 -= minX; | ~~~~~~~^~~~~~~ src/common/bspslicer.cpp: In function ‘void SL_BSPSlice(const dMapTile_t*, float, int, bool, bool)’: src/common/bspslicer.cpp:145:23: note: ‘intersectPoint[0]’ was declared here 145 | vec3_t vTemp, intersectPoint; | ^~~~~~~~~~~~~~ In function ‘void SL_SliceTheWorld(const dMapTile_t*, const vec_t*, const vec_t*, float, int, bool, bool)’, inlined from ‘void SL_BSPSlice(const dMapTile_t*, float, int, bool, bool)’ at src/common/bspslicer.cpp:336:18: src/common/bspslicer.cpp:269:48: warning: ‘intersectPoint[1]’ may be used uninitialized [-Wmaybe-uninitialized] 269 | lineY1 -= minY; | ~~~~~~~^~~~~~~ src/common/bspslicer.cpp: In function ‘void SL_BSPSlice(const dMapTile_t*, float, int, bool, bool)’: src/common/bspslicer.cpp:145:23: note: ‘intersectPoint[1]’ was declared here 145 | vec3_t vTemp, intersectPoint; | ^~~~~~~~~~~~~~ ===> CXX [ufoslicer] src/common/files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/common/files.cpp.o src/common/files.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/common/files.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/files.cpp:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/common/list.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/common/list.cpp.o src/common/list.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/common/list.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/list.h:28, from src/common/list.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30, from src/common/list.cpp:27: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/common/mem.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/common/mem.cpp.o src/common/mem.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/common/mem.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/mem.cpp:29: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/common/../shared/shared.h:54, from src/common/common.h:30: src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/common/mem.cpp: In function ‘memBlockFoot_t* Mem_BlockToFooter(memBlock_t*)’: src/common/mem.cpp:177:16: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘memBlockFoot_t*’ increases required alignment of target type [-Wcast-align] 177 | return reinterpret_cast(reinterpret_cast(Mem_BlockToPtr(mem)) + mem->memSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX [ufoslicer] src/common/unzip.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/common/unzip.cpp.o src/common/unzip.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/common/unzip.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:205, from /usr/lib/gcc/riscv64-linux-gnu/13/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/13/include/limits.h:34, from /usr/include/zconf.h:428, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/common/ioapi.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/common/ioapi.cpp.o src/common/ioapi.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/common/ioapi.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from src/common/ioapi.cpp:9: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/tools/ufo2map/common/bspfile.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/tools/ufo2map/common/bspfile.cpp.o src/tools/ufo2map/common/bspfile.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/tools/ufo2map/common/bspfile.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/common/bspfile.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/tools/ufo2map/common/scriplib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/tools/ufo2map/common/scriplib.cpp.o src/tools/ufo2map/common/scriplib.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/tools/ufo2map/common/scriplib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/tools/ufo2map/common/../../../shared/ufotypes.h:32, from src/tools/ufo2map/common/shared.h:27, from src/tools/ufo2map/common/scriplib.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/tools/ufo2map/common/../../../shared/shared.h:54, from src/tools/ufo2map/common/shared.h:31: src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/../../../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/tools/ufo2map/common/scriplib.cpp: In function ‘void LoadScriptFile(const char*)’: src/tools/ufo2map/common/scriplib.cpp:49:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 256 equals destination size [-Wstringop-truncation] 49 | strncpy(script.filename, filename, sizeof(script.filename)); | ^ ===> CXX [ufoslicer] src/shared/mathlib.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/shared/mathlib.cpp.o src/shared/mathlib.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/shared/mathlib.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/mathlib.h:27, from src/shared/mathlib.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/mathlib.cpp:27: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/mathlib.cpp: In function ‘void RotatePointAroundVector(vec_t*, const vec_t*, const vec_t*, float)’: src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:904:26: note: called from here 904 | R_ConcatRotations(tmpmat, im, rot); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:834:20: warning: inlining failed in call to ‘void R_ConcatRotations(float (*)[3], float (*)[3], float (*)[3])’: --param max-inline-insns-single limit reached [-Winline] 834 | static inline void R_ConcatRotations (float in1[3][3], float in2[3][3], float out[3][3]) | ^~~~~~~~~~~~~~~~~ src/shared/mathlib.cpp:903:26: note: called from here 903 | R_ConcatRotations(m, zrot, tmpmat); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ===> CXX [ufoslicer] src/shared/aabb.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/shared/aabb.cpp.o src/shared/aabb.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/shared/aabb.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/aabb.h:27, from src/shared/aabb.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/shared/byte.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/shared/byte.cpp.o src/shared/byte.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/shared/byte.cpp.o In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:34, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/../common/../shared/shared.h:54, from src/shared/../common/common.h:30, from src/shared/byte.cpp:29: src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/shared/images.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/shared/images.cpp.o src/shared/images.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/shared/images.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/images.h:29, from src/shared/images.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54, from src/shared/images.cpp:28: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/shared/parse.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/shared/parse.cpp.o src/shared/parse.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/shared/parse.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-linux-gnu/13/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/parse.h:30, from src/shared/parse.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/parse.h:31: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/shared/shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/shared/shared.cpp.o src/shared/shared.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/shared/shared.cpp.o In file included from /usr/include/riscv64-linux-gnu/c++/13/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/13/bits/c++config.h:679, from /usr/include/c++/13/cstdlib:41, from /usr/include/c++/13/stdlib.h:36, from src/shared/../../config.h:3, from src/shared/shared.h:32, from src/shared/shared.cpp:28: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/shared/shared.h:54: src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/shared/shared.cpp: In function ‘int Com_FilterAfterStar(const char*, const char*)’: src/shared/shared.cpp:108:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:108:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 108 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:109:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^ src/shared/shared.cpp:109:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 109 | register char c, c1; | ^~ src/shared/shared.cpp: In function ‘int Com_Filter(const char*, const char*)’: src/shared/shared.cpp:147:30: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:147:44: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 147 | register const char* p = pattern, *t = text; | ^ src/shared/shared.cpp:148:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 148 | register char c; | ^ src/shared/shared.cpp:169:47: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 169 | register char c1 = *t++; | ^~ src/shared/shared.cpp:181:55: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~~~ src/shared/shared.cpp:181:67: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 181 | register char cstart = c, cend = c; | ^~~~ ===> CXX [ufoslicer] src/shared/utf8.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/shared/utf8.cpp.o src/shared/utf8.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/shared/utf8.cpp.o In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from src/shared/utf8.cpp:27: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/ports/unix/unix_files.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/ports/unix/unix_files.cpp.o src/ports/unix/unix_files.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/ports/unix/unix_files.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_files.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_files.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> CXX [ufoslicer] src/ports/unix/unix_shared.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/ports/unix/unix_shared.cpp.o src/ports/unix/unix_shared.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/ports/unix/unix_shared.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_shared.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_shared.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/unix_shared.cpp: In function ‘void Sys_OpenURL(const char*)’: src/ports/unix/unix_shared.cpp:205:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | system(buf); | ~~~~~~^~~~~ ===> CXX [ufoslicer] src/ports/unix/unix_main.cpp "c++" -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -fno-omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<>=/usr/src/ufoai-2.5-7build3 -Wnon-virtual-dtor -DCOMPILE_MAP -I/usr/include/SDL2 -D_REENTRANT -c -o release-linux-riscv64/ufoslicer/ports/unix/unix_main.cpp.o src/ports/unix/unix_main.cpp -MP -MD -MT release-linux-riscv64/ufoslicer/ports/unix/unix_main.cpp.o In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_main.cpp:26: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/ports/unix/../../common/../shared/shared.h:54, from src/ports/unix/../../common/common.h:30, from src/ports/unix/unix_main.cpp:38: src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 20 | #if CXX11(4, 4, 0, cxx_defaulted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:20:43: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 26 | #if CXX11(4, 4, 0, cxx_deleted_functions) | ^ src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:26:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 32 | #if not CXX11(4, 7, 1400, cxx_override_control) | ^ src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] src/ports/unix/../../common/../shared/cxx.h:32:47: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] ===> LD [ufoslicer] mkdir -p ./ "c++" release-linux-riscv64/ufoslicer/tools/ufoslicer.cpp.o release-linux-riscv64/ufoslicer/common/bspslicer.cpp.o release-linux-riscv64/ufoslicer/common/files.cpp.o release-linux-riscv64/ufoslicer/common/list.cpp.o release-linux-riscv64/ufoslicer/common/mem.cpp.o release-linux-riscv64/ufoslicer/common/unzip.cpp.o release-linux-riscv64/ufoslicer/common/ioapi.cpp.o release-linux-riscv64/ufoslicer/tools/ufo2map/common/bspfile.cpp.o release-linux-riscv64/ufoslicer/tools/ufo2map/common/scriplib.cpp.o release-linux-riscv64/ufoslicer/shared/mathlib.cpp.o release-linux-riscv64/ufoslicer/shared/aabb.cpp.o release-linux-riscv64/ufoslicer/shared/byte.cpp.o release-linux-riscv64/ufoslicer/shared/images.cpp.o release-linux-riscv64/ufoslicer/shared/parse.cpp.o release-linux-riscv64/ufoslicer/shared/shared.cpp.o release-linux-riscv64/ufoslicer/shared/utf8.cpp.o release-linux-riscv64/ufoslicer/ports/unix/unix_files.cpp.o release-linux-riscv64/ufoslicer/ports/unix/unix_shared.cpp.o release-linux-riscv64/ufoslicer/ports/unix/unix_main.cpp.o -lpng -ljpeg -lm -lz -lSDL2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -o ufoslicer make[2]: Leaving directory '/<>' /usr/bin/make manual make[2]: Entering directory '/<>' /bin/sh: 1: cd: can't cd to /<>/contrib/installer/mojosetup/scripts ls: cannot access '*.lua': No such file or directory find: ‘base/maps’: No such file or directory /bin/sh: 0: Illegal option - build/maps.mk:45: target '.' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client' doesn't match the target pattern build/maps.mk:45: target 'src' doesn't match the target pattern build/maps.mk:45: target 'src/po' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/game/lua' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/game/lua' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/game/lua' doesn't match the target pattern build/maps.mk:45: target 'src/tools' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/tests' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'src/client' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/server' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/server' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/server' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/shared' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'base' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'base/ufos' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/shared' doesn't match the target pattern build/maps.mk:45: target 'unittest' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/shared' doesn't match the target pattern build/maps.mk:45: target 'src/docs' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/client' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/shared' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/shared' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/input' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/input' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/shared' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'unittest/maps' doesn't match the target pattern build/maps.mk:45: target 'src/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/sound' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/sound' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools/ufo2map/check' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/vegetation' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household' doesn't match the target pattern build/maps.mk:45: target 'src/common' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex' doesn't match the target pattern build/maps.mk:45: target 'src/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/ports' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/images' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'build' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/tools' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/tools' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/tools/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'radiant/bitmaps' doesn't match the target pattern build/maps.mk:45: target 'src/game/lua' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/dropships' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/city' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/msgid' doesn't match the target pattern build/maps.mk:45: target 'build/projects' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/cars' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/web' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/web' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/office' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/trucks' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection' doesn't match the target pattern build/maps.mk:45: target 'src/tools/blender' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar' doesn't match the target pattern build/maps.mk:45: target 'unittest/save' doesn't match the target pattern build/maps.mk:45: target 'src/tests' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/include' doesn't match the target pattern build/maps.mk:45: target 'src/shared' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/machines' doesn't match the target pattern build/maps.mk:45: target 'unittest/save/campaign' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/alien' doesn't match the target pattern build/maps.mk:45: target 'debian' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/living_room' doesn't match the target pattern build/maps.mk:45: target 'src/server' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc/shop' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/memory' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/memory/tools' doesn't match the target pattern build/maps.mk:45: target 'src/libs' doesn't match the target pattern build/maps.mk:45: target 'src/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/math' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/ports' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bath' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos/crashed_scout' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entityinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/houses' doesn't match the target pattern build/maps.mk:45: target '.pc' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/common' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/interceptors' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/kitchen' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/eventmanager' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bedroom' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/save' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/check' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/camera' doesn't match the target pattern build/maps.mk:45: target 'src/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'radiant/sourceviewer' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uitest' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/chapters' doesn't match the target pattern build/maps.mk:45: target 'src/client/input' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/libs' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/libs' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/algorithm' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uisample' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/generic' doesn't match the target pattern build/maps.mk:45: target 'src/client/sound' doesn't match the target pattern build/maps.mk:45: target 'build/modules' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/pathfinding' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/backend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/container' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/settings' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/construct' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/filterdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filters' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/pk3' doesn't match the target pattern build/maps.mk:45: target 'src/ports/windows' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ump' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/surfaceinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/scenegraph' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/material' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/light' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xmlregistry' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/undo' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/colourscheme' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textures' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sound' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mainframe' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/referencecache' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/particle' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/stream' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base' doesn't match the target pattern build/maps.mk:45: target 'src/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/doors' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/uimanager' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entitylist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/script' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/xmlutil' doesn't match the target pattern build/maps.mk:45: target 'src/client/web' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'build/platforms' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/commandlist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool/item' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/selectionset' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/sound' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/model' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/generic' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/entitydef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/eclassmodel' doesn't match the target pattern build/maps.mk:45: target 'src/ports/android' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/ortho' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mru' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/modelselector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/namespace' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/keys' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/group' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/csg' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/string' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/signal' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/window' doesn't match the target pattern build/maps.mk:45: target 'debian/man' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/frontend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/clipper' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/os' doesn't match the target pattern build/maps.mk:45: target 'contrib' doesn't match the target pattern build/maps.mk:45: target 'base/media' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src' doesn't match the target pattern build/maps.mk:45: target 'unittest/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal/filetypes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/transform' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/maptools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/shaderclipboard' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map/algorithm' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brushexport' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/q3radiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'debian/patches' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview/grid' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/textureoverview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/overlay' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/lightdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findshader' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findbrush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/about' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/log' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/directory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/modulesystem' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.4' doesn't match the target pattern build/maps.mk:45: target 'src/resources' doesn't match the target pattern build/maps.mk:45: target 'src/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts/bashcompletion' doesn't match the target pattern build/maps.mk:45: target 'base/ai' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/umpeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/splash' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/scripteditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/materialeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/terrain' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/mapdef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/memory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/ifc' doesn't match the target pattern build/maps.mk:45: target 'src/tools/masterserver' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/ufoai.game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures' doesn't match the target pattern build/maps.mk:45: target 'src/ports/macosx' doesn't match the target pattern build/maps.mk:45: target 'debian/icons' doesn't match the target pattern build/maps.mk:45: target 'debian/bin' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codelite' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codeblocks' doesn't match the target pattern build/maps.mk:45: target 'build/modes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/prefdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/debugging' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/games' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures/radiant' doesn't match the target pattern build/maps.mk:45: target 'src/ports/solaris' doesn't match the target pattern build/maps.mk:45: target 'debian/source' doesn't match the target pattern find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory make[3]: Entering directory '/<>/src/docs/tex' pdflatex ufo-manual_EN.tex This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./ufo-manual_EN.tex LaTeX2e <2023-11-01> patch level 1 L3 programming layer <2024-01-22> LaTeX Warning: \include should only be used after \begin{document} on input lin e 4. (./header.tex (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls Document Class: scrartcl 2023/07/07 v3.41 KOMA-Script document class (article) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlogo.sty))) (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty))) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize11pt.clo) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty)) (/usr/share/texlive/texmf-dist/tex/latex/anysize/anysize.sty document style option `anysize' loaded Michael Salzenberg, Thomas Esser, Dirk Hillbrecht Version 1.0, Aug 13, 1994 ) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def))) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))) (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty))) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) Package hyperref Warning: Option `a4paper' is no longer used. (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))) (/usr/share/texlive/texmf-dist/tex/latex/pdfsync/pdfsync.sty)) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) No file ufo-manual_EN.aux. (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bookmark.sty (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bkm-pdftex.def)) Underfull \hbox (badness 10000) in paragraph at lines 7--10 [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] No file ufo-manual_EN.toc. [3] (./chapters/intro.tex Underfull \hbox (badness 10000) in paragraph at lines 12--13 [4]) [5] (./chapters/community.tex) [6] (./chapters/firststeps.tex) [7] (./chapters/geoscape.tex Underfull \hbox (badness 10000) in paragraph at lines 8--9 Overfull \hbox (10.95003pt too wide) in paragraph at lines 10--11 [][][][] [8 <./images/geoscape_final.jpg>] [9]) [10] (./chapters/base.tex [11]) [12] [13] (./chapters/mechanics.tex) [14 <./images/badges_rekrut_final.jpg> <./image s/badges_sergeant_final.jpg> <./images/badges_hauptmann_final.jpg>] (./chapters/tactical.tex [15 <./images/HUD_final.jpg>] [16] Underfull \hbox (badness 10000) in paragraph at lines 66--67 [17 <./images/HUD_detail_final.jpg>]) [18 <./images/altHUD_final.jpg>] (./chapters/battlescape.tex [19]) [20] [21] (./chapters/options.tex [22]) [23] [24] (./chapters/multiplayer.tex [25]) [26] (./chapters/trouble.tex) [27] (./chapters/sysreq.tex) [28] (./chapters/credits.tex) [29] (./chapters/licenses.tex) [30] (./chapters/changelog.tex) [31] (./ufo-manual_EN.aux (./chapters/intro.aux) (./chapters/community.aux) (./chapters/firststeps.aux) (./chapters/geoscape.aux) (./chapters/base.aux) (./chapters/mechanics.aux) (./chapters/tactical.aux) (./chapters/battlescape.aux) (./chapters/options.aux) (./chapters/multiplayer.aux) (./chapters/trouble.aux) (./chapters/sysreq.aux) (./chapters/credits.aux) (./chapters/licenses.aux) (./chapters/changelog.aux)) Package rerunfilecheck Warning: File `ufo-manual_EN.out' has changed. (rerunfilecheck) Rerun to get outlines right (rerunfilecheck) or use package `bookmark'. ) (see the transcript file for additional information) Output written on ufo-manual_EN.pdf (31 pages, 920788 bytes). Transcript written on ufo-manual_EN.log. pdflatex ufo-manual_EN.tex This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./ufo-manual_EN.tex LaTeX2e <2023-11-01> patch level 1 L3 programming layer <2024-01-22> LaTeX Warning: \include should only be used after \begin{document} on input lin e 4. (./header.tex (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls Document Class: scrartcl 2023/07/07 v3.41 KOMA-Script document class (article) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlogo.sty))) (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty))) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize11pt.clo) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty)) (/usr/share/texlive/texmf-dist/tex/latex/anysize/anysize.sty document style option `anysize' loaded Michael Salzenberg, Thomas Esser, Dirk Hillbrecht Version 1.0, Aug 13, 1994 ) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def))) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty (/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))) (/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty))) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def) Package hyperref Warning: Option `a4paper' is no longer used. (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty) (/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty (/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty)) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty) (/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty (/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty))) (/usr/share/texlive/texmf-dist/tex/latex/pdfsync/pdfsync.sty)) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def) (./ufo-manual_EN.aux (./chapters/intro.aux) (./chapters/community.aux) (./chapters/firststeps.aux) (./chapters/geoscape.aux) (./chapters/base.aux) (./chapters/mechanics.aux) (./chapters/tactical.aux) (./chapters/battlescape.aux) (./chapters/options.aux) (./chapters/multiplayer.aux) (./chapters/trouble.aux) (./chapters/sysreq.aux) (./chapters/credits.aux) (./chapters/licenses.aux) (./chapters/changelog.aux)) (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) (./ufo-manual_EN.out) (./ufo-manual_EN.out) (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bookmark.sty (/usr/share/texlive/texmf-dist/tex/latex/bookmark/bkm-pdftex.def)) Underfull \hbox (badness 10000) in paragraph at lines 7--10 [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] (./ufo-manual_EN.toc [3] [4]) [5] (./chapters/intro.tex Underfull \hbox (badness 10000) in paragraph at lines 12--13 [6]) [7] (./chapters/community.tex) [8] (./chapters/firststeps.tex) [9] (./chapters/geoscape.tex Underfull \hbox (badness 10000) in paragraph at lines 8--9 Overfull \hbox (10.95003pt too wide) in paragraph at lines 10--11 [][][][] [10 <./images/geoscape_final.jpg>] [11]) [12] (./chapters/base.tex [13]) [14] [15] (./chapters/mechanics.tex) [16 <./images/badges_rekrut_final.jpg> <./ images/badges_sergeant_final.jpg> <./images/badges_hauptmann_final.jpg>] (./chapters/tactical.tex [17 <./images/HUD_final.jpg>] [18] Underfull \hbox (badness 10000) in paragraph at lines 66--67 [19 <./images/HUD_detail_final.jpg>]) [20 <./images/altHUD_final.jpg>] (./chapters/battlescape.tex [21]) [22] [23] (./chapters/options.tex [24]) [25] [26] (./chapters/multiplayer.tex [27]) [28] (./chapters/trouble.tex) [29] (./chapters/sysreq.tex) [30] (./chapters/credits.tex) [31] (./chapters/licenses.tex) [32] (./chapters/changelog.tex) [33] (./ufo-manual_EN.aux (./chapters/intro.aux) (./chapters/community.aux) (./chapters/firststeps.aux) (./chapters/geoscape.aux) (./chapters/base.aux) (./chapters/mechanics.aux) (./chapters/tactical.aux) (./chapters/battlescape.aux) (./chapters/options.aux) (./chapters/multiplayer.aux) (./chapters/trouble.aux) (./chapters/sysreq.aux) (./chapters/credits.aux) (./chapters/licenses.aux) (./chapters/changelog.aux)) ) (see the transcript file for additional information) Output written on ufo-manual_EN.pdf (33 pages, 927122 bytes). Transcript written on ufo-manual_EN.log. make[3]: Leaving directory '/<>/src/docs/tex' make[2]: Leaving directory '/<>' cd /<>/base \ && zip -r 0ufos.pk3 ufos \ && zip -r 0base.pk3 *.cfg mapcycle*.txt ai/*.lua adding: ufos/ (stored 0%) adding: ufos/ptl_weather.ufo (deflated 69%) adding: ufos/weapons_implants.ufo (deflated 57%) adding: ufos/team_civilians.ufo (deflated 95%) adding: ufos/team_humans.ufo (deflated 86%) adding: ufos/equipment_missions.ufo (deflated 77%) adding: ufos/msgid/ (stored 0%) adding: ufos/msgid/buildings.ufo (deflated 66%) adding: ufos/msgid/installations.ufo (deflated 59%) adding: ufos/msgid/aliens.ufo (deflated 77%) adding: ufos/msgid/missionbriefing.ufo (deflated 56%) adding: ufos/msgid/aircraftitems.ufo (deflated 68%) adding: ufos/msgid/irc.ufo (deflated 43%) adding: ufos/msgid/armour.ufo (deflated 59%) adding: ufos/msgid/aircraft.ufo (deflated 64%) adding: ufos/msgid/weapons.ufo (deflated 70%) adding: ufos/msgid/campaigntexts.ufo (deflated 52%) adding: ufos/msgid/story.ufo (deflated 64%) adding: ufos/msgid/tips.ufo (deflated 52%) adding: ufos/msgid/concepts.ufo (deflated 60%) adding: ufos/msgid/news.ufo (deflated 60%) adding: ufos/msgid/ugvs.ufo (deflated 76%) adding: ufos/msgid/mails.ufo (deflated 53%) adding: ufos/msgid/campaigns.ufo (deflated 63%) adding: ufos/msgid/skills.ufo (deflated 73%) adding: ufos/alientype_missions.ufo (deflated 83%) adding: ufos/ui/ (stored 0%) adding: ufos/ui/bases.ufo (deflated 72%) adding: ufos/ui/physdat.ufo (deflated 74%) adding: ufos/ui/radar.ufo (deflated 21%) adding: ufos/ui/intro.ufo (deflated 55%) adding: ufos/ui/buildings.ufo (deflated 63%) adding: ufos/ui/_interface.ufo (deflated 40%) adding: ufos/ui/hud_nohud.ufo (deflated 41%) adding: ufos/ui/missionbriefing.ufo (deflated 58%) adding: ufos/ui/multiplayeringame.ufo (deflated 56%) adding: ufos/ui/popup_baseattack.ufo (deflated 74%) adding: ufos/ui/multiplayer.ufo (deflated 78%) adding: ufos/ui/transfer.ufo (deflated 77%) adding: ufos/ui/main.ufo (deflated 68%) adding: ufos/ui/web.ufo (deflated 64%) adding: ufos/ui/sys_editor.ufo (deflated 73%) adding: ufos/ui/popup_capacity.ufo (deflated 64%) adding: ufos/ui/messageoptions.ufo (deflated 73%) adding: ufos/ui/aircraft_equip.ufo (deflated 79%) adding: ufos/ui/popup_installations.ufo (deflated 82%) adding: ufos/ui/hud_default.ufo (deflated 79%) adding: ufos/ui/ufopedia.ufo (deflated 81%) adding: ufos/ui/sequence.ufo (deflated 53%) adding: ufos/ui/hud_.ufo (deflated 75%) adding: ufos/ui/_objectinfo.ufo (deflated 75%) adding: ufos/ui/irc.ufo (deflated 70%) adding: ufos/ui/production.ufo (deflated 79%) adding: ufos/ui/aircraft.ufo (deflated 70%) adding: ufos/ui/hire.ufo (deflated 77%) adding: ufos/ui/hospital.ufo (deflated 72%) adding: ufos/ui/market.ufo (deflated 75%) adding: ufos/ui/singleplayer.ufo (deflated 68%) adding: ufos/ui/material_editor.ufo (deflated 84%) adding: ufos/ui/_menu.ufo (deflated 73%) adding: ufos/ui/campaign.ufo (deflated 79%) adding: ufos/ui/mailclient.ufo (deflated 65%) adding: ufos/ui/aircraft_soldiers.ufo (deflated 71%) adding: ufos/ui/hud_genradar.ufo (deflated 71%) adding: ufos/ui/cgame.ufo (deflated 66%) adding: ufos/ui/basedefence.ufo (deflated 77%) adding: ufos/ui/options.ufo (deflated 77%) adding: ufos/ui/team.ufo (deflated 76%) adding: ufos/ui/aircraft_info.ufo (deflated 75%) adding: ufos/ui/tutorials.ufo (deflated 52%) adding: ufos/ui/sys_popup.ufo (deflated 77%) adding: ufos/ui/modeltest.ufo (deflated 41%) adding: ufos/ui/research.ufo (deflated 74%) adding: ufos/ui/hud_phone.ufo (deflated 79%) adding: ufos/ui/basesummary.ufo (deflated 68%) adding: ufos/ui/equipment.ufo (deflated 76%) adding: ufos/ui/stats.ufo (deflated 79%) adding: ufos/ui/skirmish.ufo (deflated 72%) adding: ufos/ui/geoscape.ufo (deflated 80%) adding: ufos/ui/aliencont.ufo (deflated 74%) adding: ufos/ui/inventory.ufo (deflated 73%) adding: ufos/ui/aircraft_pilots.ufo (deflated 64%) adding: ufos/ui/lostwon.ufo (deflated 78%) adding: ufos/team_aliens.ufo (deflated 86%) adding: ufos/weapons_particle.ufo (deflated 81%) adding: ufos/weapons_laser.ufo (deflated 80%) adding: ufos/seq_modelview.ufo (deflated 57%) adding: ufos/entities.ufo (deflated 76%) adding: ufos/team_templates.ufo (deflated 73%) adding: ufos/models.ufo (deflated 83%) adding: ufos/aircraftmanagement.ufo (deflated 80%) adding: ufos/skins.ufo (deflated 50%) adding: ufos/medals.ufo (deflated 74%) adding: ufos/ptl_misc.ufo (deflated 82%) adding: ufos/research_logic.ufo (deflated 75%) adding: ufos/armour.ufo (deflated 74%) adding: ufos/version.ufo (stored 0%) adding: ufos/sprites_tiled.ufo (deflated 85%) adding: ufos/weapons_ugv.ufo (deflated 71%) adding: ufos/weapons_plasma.ufo (deflated 87%) adding: ufos/terrain.ufo (deflated 93%) adding: ufos/seq_credits.ufo (deflated 80%) adding: ufos/weapons.ufo (deflated 87%) adding: ufos/weapons_aliens.ufo (deflated 81%) adding: ufos/gametypes.ufo (deflated 87%) adding: ufos/tips.ufo (deflated 58%) adding: ufos/campaign.ufo (deflated 85%) adding: ufos/music.ufo (deflated 62%) adding: ufos/fonts.ufo (deflated 72%) adding: ufos/language.ufo (deflated 73%) adding: ufos/weapons_human.ufo (deflated 90%) adding: ufos/researched_list.ufo (deflated 75%) adding: ufos/nations.ufo (deflated 65%) adding: ufos/sprites_tmp.ufo (deflated 77%) adding: ufos/ptl_explosions.ufo (deflated 82%) adding: ufos/seq_tutorials.ufo (deflated 83%) adding: ufos/msgoptions.ufo (deflated 78%) adding: ufos/research.ufo (deflated 88%) adding: ufos/weapons_melee.ufo (deflated 81%) adding: ufos/components.ufo (deflated 78%) adding: ufos/cities.ufo (deflated 69%) adding: ufos/ptl_weaponsfx.ufo (deflated 85%) adding: ufos/maps.ufo (deflated 88%) adding: ufos/seq_intro.ufo (deflated 77%) adding: ufos/basemanagement.ufo (deflated 73%) adding: ufos/weapons_multiplayer.ufo (deflated 81%) adding: ufos/equipment.ufo (deflated 79%) adding: ufos/gamemodes.ufo (deflated 67%) adding: ufos/installation.ufo (deflated 61%) adding: ufos/team_names.ufo (deflated 65%) adding: ufos/icons.ufo (deflated 84%) adding: ufos/otheritems.ufo (deflated 75%) adding: ufos/inventory.ufo (deflated 61%) adding: ufos/implants.ufo (deflated 47%) adding: ufos/events.ufo (deflated 72%) adding: autoexec.cfg (deflated 22%) adding: dedicated.cfg (deflated 72%) adding: default.cfg (deflated 42%) adding: filesystem.cfg (deflated 82%) adding: keys.cfg (deflated 76%) adding: safemode.cfg (deflated 33%) adding: video-high.cfg (deflated 45%) adding: video-low.cfg (deflated 46%) adding: video-medium.cfg (deflated 45%) adding: mapcycle-2on2.txt (deflated 32%) adding: mapcycle.txt (deflated 54%) adding: ai/alien.lua (deflated 54%) adding: ai/civilian.lua (deflated 74%) adding: ai/soldier.lua (deflated 73%) make[1]: Leaving directory '/<>' dh: command-omitted: The call to "dh_auto_test -a" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --with bash-completion dh_testroot -a dh_prep -a dh_auto_install -a make -j4 install DESTDIR=/<>/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/<>' /bin/sh: 1: cd: can't cd to /<>/contrib/installer/mojosetup/scripts ls: cannot access '*.lua': No such file or directory find: ‘base/maps’: No such file or directory /bin/sh: 0: Illegal option - build/maps.mk:45: target '.' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client' doesn't match the target pattern build/maps.mk:45: target 'src' doesn't match the target pattern build/maps.mk:45: target 'src/po' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/game/lua' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/game/lua' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/game/lua' doesn't match the target pattern build/maps.mk:45: target 'src/tools' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/tests' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'src/client' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/server' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/server' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/server' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc' doesn't match the target pattern build/maps.mk:45: target 'src/docs' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'base' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/shared' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex' doesn't match the target pattern build/maps.mk:45: target 'base/ufos' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/shared' doesn't match the target pattern build/maps.mk:45: target 'unittest' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/shared' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/common' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/client' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/shared' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/shared' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/input' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/input' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/shared' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'unittest/maps' doesn't match the target pattern build/maps.mk:45: target 'src/game' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/sound' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/sound' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/tools/ufo2map/check' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/vegetation' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household' doesn't match the target pattern build/maps.mk:45: target 'src/common' doesn't match the target pattern build/maps.mk:45: target 'src/client/renderer' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/ports' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/images' doesn't match the target pattern build/maps.mk:45: target 'src/client/ui/node' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'build' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/tools' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/tools' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/ui' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/tools/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'radiant/bitmaps' doesn't match the target pattern build/maps.mk:45: target 'src/game/lua' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/dropships' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/city' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'base/ufos/msgid' doesn't match the target pattern build/maps.mk:45: target 'build/projects' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/cars' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/ports' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoslicer/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufomodel/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo2map/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/web' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/web' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/office' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/trucks' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection' doesn't match the target pattern build/maps.mk:45: target 'src/tools/blender' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar' doesn't match the target pattern build/maps.mk:45: target 'unittest/save' doesn't match the target pattern build/maps.mk:45: target 'src/tests' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/include' doesn't match the target pattern build/maps.mk:45: target 'src/shared' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/machines' doesn't match the target pattern build/maps.mk:45: target 'unittest/save/campaign' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/alien' doesn't match the target pattern build/maps.mk:45: target 'debian' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/living_room' doesn't match the target pattern build/maps.mk:45: target 'src/server' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/misc/shop' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/memory' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/memory/tools' doesn't match the target pattern build/maps.mk:45: target 'src/libs' doesn't match the target pattern build/maps.mk:45: target 'src/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/actor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/math' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos' doesn't match the target pattern build/maps.mk:45: target 'src/ports' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bath' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/ufos/crashed_scout' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entityinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/houses' doesn't match the target pattern build/maps.mk:45: target '.pc' doesn't match the target pattern build/maps.mk:45: target 'src/docs/tex/chapters' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/common' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/interceptors' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/kitchen' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/missions' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/eventmanager' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/household/bedroom' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/campaign/save' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/world' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/check' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/camera' doesn't match the target pattern build/maps.mk:45: target 'src/client/cinematic' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufoded/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'radiant/sourceviewer' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uitest' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufo2map/common' doesn't match the target pattern build/maps.mk:45: target 'src/client/input' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/libs' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/libs' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/algorithm' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/ufo/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'release-linux-riscv64/testall/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'unittest/ufos/uisample' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/generic' doesn't match the target pattern build/maps.mk:45: target 'src/client/sound' doesn't match the target pattern build/maps.mk:45: target 'build/modules' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/pathfinding' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/backend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/container' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/multiplayer' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/settings' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/construct' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/filterdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filters' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/pk3' doesn't match the target pattern build/maps.mk:45: target 'src/ports/windows' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/player' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ump' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/surfaceinspector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/scenegraph' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/material' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/light' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/picomodel' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xmlregistry' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/undo' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/colourscheme' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textures' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sound' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch' doesn't match the target pattern build/maps.mk:45: target '.pc/initialize-entityString.patch/src/tools/ufo2map' doesn't match the target pattern build/maps.mk:45: target 'src/tools/ufomodel' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mainframe' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/referencecache' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/particle' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/stream' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base' doesn't match the target pattern build/maps.mk:45: target 'src/ports/unix' doesn't match the target pattern build/maps.mk:45: target 'radiant/prefabs/doors' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/uimanager' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/sidebar/entitylist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/script' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/xmlutil' doesn't match the target pattern build/maps.mk:45: target 'src/client/web' doesn't match the target pattern build/maps.mk:45: target 'src/client/battlescape/events/event/inventory' doesn't match the target pattern build/maps.mk:45: target 'build/platforms' doesn't match the target pattern build/maps.mk:45: target '.pc/segfault-reactionfire-mode-bug-861979.patch/src/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/commandlist' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/textool/item' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/selectionset' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/sound' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/model' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/generic' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/entitydef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/eclassmodel' doesn't match the target pattern build/maps.mk:45: target 'src/ports/android' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/ortho' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/mru' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/modelselector' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/namespace' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/keys' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/entity/group' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brush/csg' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/string' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/signal' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/window' doesn't match the target pattern build/maps.mk:45: target 'debian/man' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch' doesn't match the target pattern build/maps.mk:45: target 'src/tools/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/render/frontend' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/particles' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/clipper' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/os' doesn't match the target pattern build/maps.mk:45: target 'contrib' doesn't match the target pattern build/maps.mk:45: target 'base/media' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src' doesn't match the target pattern build/maps.mk:45: target 'unittest/game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/webapi/internal/filetypes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/transform' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/maptools' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/selection/shaderclipboard' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/map/algorithm' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/brushexport' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/q3radiant' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/scripts' doesn't match the target pattern build/maps.mk:45: target 'src/ports/linux' doesn't match the target pattern build/maps.mk:45: target 'src/client/cgame/skirmish' doesn't match the target pattern build/maps.mk:45: target 'debian/patches' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts' doesn't match the target pattern build/maps.mk:45: target '.pc/bug-949301-mxml.patch/src/common' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/xyview/grid' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/textureoverview' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/overlay' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/lightdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findshader' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/findbrush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/about' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/log' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/filesystem/directory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/modulesystem' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.4' doesn't match the target pattern build/maps.mk:45: target 'src/resources' doesn't match the target pattern build/maps.mk:45: target 'src/libs/mumble' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper' doesn't match the target pattern build/maps.mk:45: target 'contrib/scripts/bashcompletion' doesn't match the target pattern build/maps.mk:45: target 'base/ai' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/umpeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/splash' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/scripteditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/materialeditor' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/brush' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/terrain' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ufoscript/mapdef' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/memory' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/menu' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/ifc' doesn't match the target pattern build/maps.mk:45: target 'src/tools/masterserver' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/ufoai.game' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures' doesn't match the target pattern build/maps.mk:45: target 'src/ports/macosx' doesn't match the target pattern build/maps.mk:45: target 'debian/icons' doesn't match the target pattern build/maps.mk:45: target 'debian/bin' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper/generated' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codelite' doesn't match the target pattern build/maps.mk:45: target 'build/projects/codeblocks' doesn't match the target pattern build/maps.mk:45: target 'build/modes' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/radiant/ui/prefdialog' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/gtkutil/event' doesn't match the target pattern build/maps.mk:45: target 'src/tools/radiant/libs/debugging' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/games' doesn't match the target pattern build/maps.mk:45: target 'src/tools/gtkradiant/1.6/gamepack/base/textures/radiant' doesn't match the target pattern build/maps.mk:45: target 'src/ports/solaris' doesn't match the target pattern build/maps.mk:45: target 'debian/source' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper/generated/_source' doesn't match the target pattern build/maps.mk:45: target 'debian/tmp' doesn't match the target pattern build/maps.mk:45: target 'debian/.debhelper/generated/_source/home' doesn't match the target pattern find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory find: ‘base/models’: No such file or directory zip warning: 0pics.pk3 not found or empty zip warning: zip file empty zip warning: 0models.pk3 not found or empty zip warning: zip file empty zip warning: 0snd.pk3 not found or empty zip warning: zip file empty zip warning: 0music.pk3 not found or empty zip warning: name not matched: music/*.ogg zip warning: 0maps.pk3 not found or empty zip warning: zip file empty zip warning: 0media.pk3 not found or empty adding: media/languages.ttf (deflated 38%) zip warning: 0materials.pk3 not found or empty zip warning: name not matched: materials/*.mat zip warning: 0textures.pk3 not found or empty zip warning: zip file empty zip warning: 0shaders.pk3 not found or empty zip warning: name not matched: shaders/*.glsl src/po/ufoai-bg_BG.po zip warning: 0videos.pk3 not found or empty src/po/ufoai-cs.po src/po/ufoai-da.po zip warning: zip file empty src/po/ufoai-de.po src/po/ufoai-cs.po:9: warning: header field 'Language' still has the initial default value 1830 translated messages, 771 fuzzy translations, 334 untranslated messages. src/po/ufoai-el.po src/po/ufoai-da.po:23: warning: header field 'Language' still has the initial default value 1341 translated messages, 985 fuzzy translations, 609 untranslated messages. src/po/ufoai-bg_BG.po:2: warning: header field 'Language' still has the initial default value src/po/ufoai-en.po 1975 translated messages, 691 fuzzy translations, 269 untranslated messages. src/po/ufoai-es.po 2881 translated messages, 45 fuzzy translations, 9 untranslated messages. src/po/ufoai-es_ES.po 2935 translated messages. src/po/ufoai-et.po src/po/ufoai-el.po:2: warning: header field 'Language' still has the initial default value 881 translated messages, 1294 fuzzy translations, 760 untranslated messages. src/po/ufoai-fi.po 2931 translated messages, 4 fuzzy translations. 2365 translated messages, 379 fuzzy translations, 191 untranslated messages. src/po/ufoai-fr.po src/po/ufoai-hu.po src/po/ufoai-et.po:2: warning: header field 'Language' still has the initial default value 722 translated messages, 1278 fuzzy translations, 935 untranslated messages. src/po/ufoai-it.po src/po/ufoai-fi.po:8: warning: header field 'Language' still has the initial default value 2016 translated messages, 666 fuzzy translations, 253 untranslated messages. 1772 translated messages, 220 fuzzy translations, 943 untranslated messages. src/po/ufoai-ja.po src/po/ufoai-ko.po 2861 translated messages, 57 fuzzy translations, 17 untranslated messages. src/po/ufoai-nl_NL.po 2304 translated messages, 383 fuzzy translations, 248 untranslated messages. src/po/ufoai-no.po src/po/ufoai-ja.po:2: warning: header field 'Language' still has the initial default value 686 translated messages, 958 fuzzy translations2567 translated messages, 297 fuzzy translations, 71 untranslated messages. , 1291 untranslated messages. src/po/ufoai-pl.po src/po/ufoai-pt.po 2163 translated messages, 567 fuzzy translations, 205 untranslated messages. src/po/ufoai-pt_BR.po 2762 translated messages, 173 untranslated messages. src/po/ufoai-ru.po 2757 translated messages, 82 fuzzy translations, 96 untranslated messages. src/po/ufoai-sl.po src/po/ufoai-pt.po:2: warning: header field 'Language' still has the initial default value 1252 translated messages, 1000 fuzzy translations, 683 untranslated messages. src/po/ufoai-sv.po src/po/ufoai-pt_BR.po:2: warning: header field 'Language' still has the initial default value 935 translated messages, 1230 fuzzy translations, 770 untranslated messages. src/po/ufoai-th.po 2233 translated messages, 360 fuzzy translations, 342 untranslated messages. src/po/ufoai-tr.po 1525 translated messages, 938 fuzzy translations, 472 untranslated messages. src/po/ufoai-uk.po 2934 translated messages. src/po/ufoai-th.po:2: warning: header field 'Language' still has the initial default value 1066 translated messages, 1228 fuzzy translations, 641 untranslated messages. src/po/ufoai-zh_CN.po src/po/ufoai-zh_TW.po src/po/ufoai-tr.po:8: warning: header field 'PO-Revision-Date' still has the initial default value src/po/ufoai-tr.po:8: warning: header field 'Last-Translator' still has the initial default value src/po/ufoai-tr.po:8: warning: header field 'Language-Team' still has the initial default value src/po/ufoai-tr.po:8: warning: header field 'Language' still has the initial default value 58 translated messages, 245 fuzzy translations, 2632 untranslated messages. src/po/uforadiant-de.po src/po/uforadiant-de.po:2: warning: header field 'Language' missing in header 322 translated messages, 97 fuzzy translations, 55 untranslated messages. src/po/uforadiant-en.po src/po/uforadiant-en.po:2: warning: header field 'Language' missing in header 474 translated messages. src/po/ufoai-zh_CN.po:2: warning: header field 'Language' still has the initial default value src/po/uforadiant-ru.po 1792 translated messages, 783 fuzzy translations, 360 untranslated messages. src/po/uforadiant-zh_CN.po src/po/ufoai-zh_TW.po:2: warning: header field 'Language' still has the initial default value 1909 translated messages, 729 fuzzy translations, 297 untranslated messages. 2934 translated messages. Install memory src/po/uforadiant-ru.po:2: warning: header field 'Language' missing in header 174 translated messages, 3 fuzzy translations, 297 untranslated messages. Install testall src/po/uforadiant-zh_CN.po:2: warning: header field 'Language' missing in header 319 translated messages, 7 fuzzy translations, 148 untranslated messages. Install ufo Install ufo2map Install ufoded Install ufomodel Install ufoslicer Binaries: /usr/bin/ Data: /usr/share/games/ufoai Libraries: /usr/lib/ Locales: Install locales Install pk3s make[1]: Leaving directory '/<>' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_bash-completion -a dh_installinit -a dh_installsystemd -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a debian/rules override_dh_compress make[1]: Entering directory '/<>' dh_compress -X.pdf make[1]: Leaving directory '/<>' dh_fixperms -a debian/rules override_dh_missing make[1]: Entering directory '/<>' dh_missing --list-missing dh_missing: warning: usr/bin/ufo exists in debian/tmp but is not installed to anywhere (related file: "ufo") dh_missing: warning: usr/bin/ufoded exists in debian/tmp but is not installed to anywhere (related file: "ufoded") dh_missing: warning: usr/bin/uforadiant exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/0base.pk3 exists in debian/tmp but is not installed to anywhere (related file: "base/0base.pk3") dh_missing: warning: usr/share/games/ufoai/base/0maps.pk3 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/0media.pk3 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/0models.pk3 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/0pics.pk3 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/0snd.pk3 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/0textures.pk3 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/0ufos.pk3 exists in debian/tmp but is not installed to anywhere (related file: "base/0ufos.pk3") dh_missing: warning: usr/share/games/ufoai/base/0videos.pk3 exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/bg_BG/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/cs/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/da/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/de/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/el/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/en/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/es/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/es_ES/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/et/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/fi/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/fr/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/hu/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/it/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/ja/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/ko/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/nl_NL/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/no/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/pl/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/pt/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/pt_BR/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/ru/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/sl/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/sv/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/th/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/tr/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/uk/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/zh_CN/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/base/i18n/zh_TW/LC_MESSAGES/ufoai.mo exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/memory exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/testall exists in debian/tmp but is not installed to anywhere dh_missing: warning: usr/share/games/ufoai/ufo exists in debian/tmp but is not installed to anywhere (related file: "ufo") dh_missing: warning: usr/share/games/ufoai/ufo2map exists in debian/tmp but is not installed to anywhere (related file: "ufo2map") dh_missing: warning: usr/share/games/ufoai/ufoded exists in debian/tmp but is not installed to anywhere (related file: "ufoded") dh_missing: warning: usr/share/games/ufoai/ufomodel exists in debian/tmp but is not installed to anywhere (related file: "ufomodel") dh_missing: warning: usr/share/games/ufoai/ufoslicer exists in debian/tmp but is not installed to anywhere (related file: "ufoslicer") While detecting missing files, dh_missing noted some files with a similar name to those that were missing. This warning /might/ be resolved by replacing references to the missing files with the similarly named ones that dh_missing found - assuming the content is identical. As an example, you might want to replace: * ufo with: * usr/bin/ufo in a file in debian/ or as argument to one of the dh_* tools called from debian/rules. (Note it is possible the paths are not used verbatim but instead directories containing or globs matching them are used instead) Alternatively, add the missing file to debian/not-installed if it cannot and should not be used. The following debhelper tools have reported what they installed (with files per package) * dh_install: ufoai (3), ufoai-common (2), ufoai-misc (30), ufoai-server (3), ufoai-tools (3) * dh_installdocs: ufoai (0), ufoai-common (0), ufoai-misc (1), ufoai-server (0), ufoai-tools (0) * dh_installman: ufoai (1), ufoai-common (0), ufoai-misc (0), ufoai-server (1), ufoai-tools (3) If the missing files are installed by another tool, please file a bug against it. When filing the report, if the tool is not part of debhelper itself, please reference the "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+). (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.md.gz) Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built If the omission is intentional or no other helper can take care of this consider adding the paths to debian/not-installed. make[1]: Leaving directory '/<>' dh_dwz -a dh_strip -a debugedit: debian/ufoai-tools/usr/bin/ufoslicer: Unknown DWARF DW_FORM_0x1f20 92dd6a124046a5407de87b5e0cf88fb146b66b1b 080040f907e3184573c3acee8108b18103bd7d3b 47a97e90a238a4d258fe5c578c031cc5db539484 debugedit: debian/ufoai-tools/usr/bin/ufomodel: Unknown DWARF DW_FORM_0x1f21 6f2642a41e88ef838803a6acee86986f5b0605e7 debugedit: debian/ufoai-tools/usr/bin/ufo2map: Unknown DWARF DW_FORM_0x1f21 8c3007cb635e15e004f51ae2c77ab355e4df0823 dh_makeshlibs -a dh_shlibdeps -a dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-riscv64-lp64d.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-riscv64-lp64d.so.1.usr-is-merged dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-riscv64-lp64d.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-riscv64-lp64d.so.1.usr-is-merged dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-riscv64-lp64d.so.1 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-riscv64-lp64d.so.1.usr-is-merged dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 154 INFO: pkgstriptranslations version 154 INFO: pkgstriptranslations version 154 pkgstriptranslations: processing ufoai (in debian/ufoai); do_strip: , oemstrip: pkgstriptranslations: processing ufoai-server (in debian/ufoai-server); do_strip: , oemstrip: pkgstriptranslations: processing ufoai-tools (in debian/ufoai-tools); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com debian/ufoai/usr/share/applications/ufoai.desktop: does not have gettext domain, not stripping pkgstripfiles: processing control file: debian/ufoai-server/DEBIAN/control, package ufoai-server, directory debian/ufoai-server INFO: pkgstripfiles: waiting for lock (ufoai-server) ... pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... pkgstripfiles: processing control file: debian/ufoai/DEBIAN/control, package ufoai, directory debian/ufoai INFO: pkgstripfiles: waiting for lock (ufoai-server) ... pkgstripfiles: Skipping PNG optimization for package in games section. dpkg-deb: building package 'ufoai' in '../ufoai_2.5-7build3_riscv64.deb'. pkgstripfiles: Skipping PNG optimization for package in games section. dpkg-deb: building package 'ufoai-server' in '../ufoai-server_2.5-7build3_riscv64.deb'. pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/ufoai-tools/DEBIAN/control, package ufoai-tools, directory debian/ufoai-tools pkgstripfiles: Running PNG optimization (using 4 cpus) for package ufoai-tools ... pkgstripfiles: No PNG files. dpkg-deb: building package 'ufoai-tools' in '../ufoai-tools_2.5-7build3_riscv64.deb'. dpkg-genbuildinfo --build=any -O../ufoai_2.5-7build3_riscv64.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../ufoai_2.5-7build3_riscv64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2024-05-15T10:28:18Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ ufoai_2.5-7build3_riscv64.changes: ---------------------------------- Format: 1.8 Date: Mon, 01 Apr 2024 19:29:32 +1100 Source: ufoai Binary: ufoai ufoai-server ufoai-tools Built-For-Profiles: noudeb Architecture: riscv64 Version: 2.5-7build3 Distribution: noble Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: William Grant Description: ufoai - UFO: Alien Invasion -- build your team and stop the aliens ufoai-server - UFO: Alien Invasion -- dedicated server ufoai-tools - UFO: Alien Invasion -- developer tools Changes: ufoai (2.5-7build3) noble; urgency=medium . * No-change rebuild for CVE-2024-3094 Checksums-Sha1: 01a6c7e3518d28dc97720374811d08ac65ab30c9 475678 ufoai-server_2.5-7build3_riscv64.deb 93bb04ab95b3314397745c2fffaea60e1137326c 276884 ufoai-tools_2.5-7build3_riscv64.deb 56bb88ed323e0314f6fd7c0df13f7c5019f987e7 16208 ufoai_2.5-7build3_riscv64.buildinfo 06467c8f1f3a343511c78ae23ea0bd1710913f08 1293286 ufoai_2.5-7build3_riscv64.deb Checksums-Sha256: de88e6cbf5f43f983c8d29a8bb9e41f607f939eb03eaa93b23de75b1c153dcb9 475678 ufoai-server_2.5-7build3_riscv64.deb 763f5682b6b98aca973e3eee5989c38f319add6a6c2ee395f8c24bb1cb9b3525 276884 ufoai-tools_2.5-7build3_riscv64.deb 6d1a79654cc341162d43cf8fbdbc919c9e420d6bb995f1d6311948bc7ecbd2d1 16208 ufoai_2.5-7build3_riscv64.buildinfo cce6fa9d9cb99bb94153406d363c7d4643183f632d6687f4ea2a3c4a5a35d348 1293286 ufoai_2.5-7build3_riscv64.deb Files: 1404e4fc8cabe49715b7bed241f09b27 475678 games optional ufoai-server_2.5-7build3_riscv64.deb 3595bb85804ea77bbaff690fef5f510e 276884 graphics optional ufoai-tools_2.5-7build3_riscv64.deb ed604be52d5a4f7345f396f5f0bac514 16208 games optional ufoai_2.5-7build3_riscv64.buildinfo b6a07ed097d30648f6dc8e80521fe19c 1293286 games optional ufoai_2.5-7build3_riscv64.deb Original-Maintainer: Debian Games Team /<>/ufoai_2.5-7build3_riscv64.changes.new could not be renamed to /<>/ufoai_2.5-7build3_riscv64.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: ufoai Binary: ufoai ufoai-server ufoai-tools Architecture: riscv64 Version: 2.5-7build3 Checksums-Md5: 1404e4fc8cabe49715b7bed241f09b27 475678 ufoai-server_2.5-7build3_riscv64.deb 3595bb85804ea77bbaff690fef5f510e 276884 ufoai-tools_2.5-7build3_riscv64.deb b6a07ed097d30648f6dc8e80521fe19c 1293286 ufoai_2.5-7build3_riscv64.deb Checksums-Sha1: 01a6c7e3518d28dc97720374811d08ac65ab30c9 475678 ufoai-server_2.5-7build3_riscv64.deb 93bb04ab95b3314397745c2fffaea60e1137326c 276884 ufoai-tools_2.5-7build3_riscv64.deb 06467c8f1f3a343511c78ae23ea0bd1710913f08 1293286 ufoai_2.5-7build3_riscv64.deb Checksums-Sha256: de88e6cbf5f43f983c8d29a8bb9e41f607f939eb03eaa93b23de75b1c153dcb9 475678 ufoai-server_2.5-7build3_riscv64.deb 763f5682b6b98aca973e3eee5989c38f319add6a6c2ee395f8c24bb1cb9b3525 276884 ufoai-tools_2.5-7build3_riscv64.deb cce6fa9d9cb99bb94153406d363c7d4643183f632d6687f4ea2a3c4a5a35d348 1293286 ufoai_2.5-7build3_riscv64.deb Build-Origin: Ubuntu Build-Architecture: riscv64 Build-Date: Wed, 15 May 2024 10:28:08 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: autoconf (= 2.71-3), automake (= 1:1.16.5-1.3ubuntu1), autopoint (= 0.21-14ubuntu2), autotools-dev (= 20220109.1), base-files (= 13ubuntu10), base-passwd (= 3.6.3build1), bash (= 5.2.21-2ubuntu4), bash-completion (= 1:2.11-8), binutils (= 2.42-4ubuntu2), binutils-common (= 2.42-4ubuntu2), binutils-riscv64-linux-gnu (= 2.42-4ubuntu2), bsdextrautils (= 2.39.3-9ubuntu6), bsdutils (= 1:2.39.3-9ubuntu6), build-essential (= 12.10ubuntu1), bzip2 (= 1.0.8-5.1), coreutils (= 9.4-3ubuntu6), cpp (= 4:13.2.0-7ubuntu1), cpp-13 (= 13.2.0-23ubuntu4), cpp-13-riscv64-linux-gnu (= 13.2.0-23ubuntu4), cpp-riscv64-linux-gnu (= 4:13.2.0-7ubuntu1), dash (= 0.5.12-6ubuntu5), debconf (= 1.5.86ubuntu1), debhelper (= 13.14.1ubuntu5), debianutils (= 5.17build1), debugedit (= 1:5.0-5build2), dh-autoreconf (= 20), dh-strip-nondeterminism (= 1.13.1-1), diffutils (= 1:3.10-1build1), dpkg (= 1.22.6ubuntu6), dpkg-dev (= 1.22.6ubuntu6), dwz (= 0.15-1build6), file (= 1:5.45-3build1), findutils (= 4.9.0-5build1), fontconfig-config (= 2.15.0-1.1ubuntu2), fonts-dejavu-core (= 2.37-8), fonts-dejavu-mono (= 2.37-8), fonts-lmodern (= 2.005-1), g++ (= 4:13.2.0-7ubuntu1), g++-13 (= 13.2.0-23ubuntu4), g++-13-riscv64-linux-gnu (= 13.2.0-23ubuntu4), g++-riscv64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc (= 4:13.2.0-7ubuntu1), gcc-13 (= 13.2.0-23ubuntu4), gcc-13-base (= 13.2.0-23ubuntu4), gcc-13-riscv64-linux-gnu (= 13.2.0-23ubuntu4), gcc-14-base (= 14-20240412-0ubuntu1), gcc-riscv64-linux-gnu (= 4:13.2.0-7ubuntu1), gettext (= 0.21-14ubuntu2), gettext-base (= 0.21-14ubuntu2), gir1.2-freedesktop (= 1.80.1-1), gir1.2-freedesktop-dev (= 1.80.1-1), gir1.2-glib-2.0 (= 2.80.0-6ubuntu1), gir1.2-glib-2.0-dev (= 2.80.0-6ubuntu1), gir1.2-harfbuzz-0.0 (= 8.3.0-2build2), gir1.2-ibus-1.0 (= 1.5.29-2), grep (= 3.11-4build1), groff-base (= 1.23.0-3build2), gzip (= 1.12-1ubuntu3), hostname (= 3.23+nmu2ubuntu2), icu-devtools (= 74.2-1ubuntu3), init-system-helpers (= 1.66ubuntu1), intltool-debian (= 0.35.0+20060710.6), libacl1 (= 2.3.2-1build1), libapache-pom-java (= 29-2), libapparmor1 (= 4.0.0-beta3-0ubuntu3), libarchive-zip-perl (= 1.68-1), libasan8 (= 14-20240412-0ubuntu1), libasound2-data (= 1.2.11-1build2), libasound2-dev (= 1.2.11-1build2), libasound2t64 (= 1.2.11-1build2), libasyncns0 (= 0.8-6build4), libatomic1 (= 14-20240412-0ubuntu1), libattr1 (= 1:2.5.2-1build1), libaudit-common (= 1:3.1.2-2.1build1), libaudit1 (= 1:3.1.2-2.1build1), libbinutils (= 2.42-4ubuntu2), libblkid-dev (= 2.39.3-9ubuntu6), libblkid1 (= 2.39.3-9ubuntu6), libbrotli-dev (= 1.1.0-2build2), libbrotli1 (= 1.1.0-2build2), libbsd0 (= 0.12.1-1build1), libbz2-1.0 (= 1.0.8-5.1), libbz2-dev (= 1.0.8-5.1), libc-bin (= 2.39-0ubuntu8), libc-dev-bin (= 2.39-0ubuntu8), libc6 (= 2.39-0ubuntu8), libc6-dev (= 2.39-0ubuntu8), libcairo-gobject2 (= 1.18.0-3build1), libcairo2 (= 1.18.0-3build1), libcap-ng0 (= 0.8.4-2build2), libcap2 (= 1:2.66-5ubuntu2), libcc1-0 (= 14-20240412-0ubuntu1), libcom-err2 (= 1.47.0-2.4~exp1ubuntu4), libcommons-logging-java (= 1.3.0-1ubuntu1), libcommons-parent-java (= 56-1), libcrypt-dev (= 1:4.4.36-4build1), libcrypt1 (= 1:4.4.36-4build1), libctf-nobfd0 (= 2.42-4ubuntu2), libctf0 (= 2.42-4ubuntu2), libcunit1 (= 2.1-3-dfsg-2.7), libcunit1-dev (= 2.1-3-dfsg-2.7), libcurl3t64-gnutls (= 8.5.0-2ubuntu10), libcurl4-gnutls-dev (= 8.5.0-2ubuntu10), libdb5.3t64 (= 5.3.28+dfsg2-7), libdbus-1-3 (= 1.14.10-4ubuntu4), libdbus-1-dev (= 1.14.10-4ubuntu4), libdebconfclient0 (= 0.271ubuntu3), libdebhelper-perl (= 13.14.1ubuntu5), libdecor-0-0 (= 0.2.2-1build2), libdecor-0-dev (= 0.2.2-1build2), libdpkg-perl (= 1.22.6ubuntu6), libdrm-amdgpu1 (= 2.4.120-2build1), libdrm-common (= 2.4.120-2build1), libdrm-dev (= 2.4.120-2build1), libdrm-nouveau2 (= 2.4.120-2build1), libdrm-radeon1 (= 2.4.120-2build1), libdrm2 (= 2.4.120-2build1), libdw1t64 (= 0.190-1.1build4), libedit2 (= 3.1-20230828-1build1), libegl-dev (= 1.7.0-1build1), libegl-mesa0 (= 24.0.5-1ubuntu1), libegl1 (= 1.7.0-1build1), libelf1t64 (= 0.190-1.1build4), libexpat1 (= 2.6.1-2build1), libffi-dev (= 3.4.6-1build1), libffi8 (= 3.4.6-1build1), libfile-stripnondeterminism-perl (= 1.13.1-1), libflac-dev (= 1.4.3+ds-2.1ubuntu2), libflac12t64 (= 1.4.3+ds-2.1ubuntu2), libfluidsynth-dev (= 2.3.4-1build3), libfluidsynth3 (= 2.3.4-1build3), libfontbox-java (= 1:1.8.16-5), libfontconfig1 (= 2.15.0-1.1ubuntu2), libfreetype-dev (= 2.13.2+dfsg-1build3), libfreetype6 (= 2.13.2+dfsg-1build3), libgbm-dev (= 24.0.5-1ubuntu1), libgbm1 (= 24.0.5-1ubuntu1), libgcc-13-dev (= 13.2.0-23ubuntu4), libgcc-s1 (= 14-20240412-0ubuntu1), libgcrypt20 (= 1.10.3-2build1), libgdbm-compat4t64 (= 1.23-5.1build1), libgdbm6t64 (= 1.23-5.1build1), libgirepository-2.0-0 (= 2.80.0-6ubuntu1), libgl-dev (= 1.7.0-1build1), libgl1 (= 1.7.0-1build1), libgl1-mesa-dri (= 24.0.5-1ubuntu1), libglapi-mesa (= 24.0.5-1ubuntu1), libgles-dev (= 1.7.0-1build1), libgles1 (= 1.7.0-1build1), libgles2 (= 1.7.0-1build1), libglib2.0-0t64 (= 2.80.0-6ubuntu1), libglib2.0-bin (= 2.80.0-6ubuntu1), libglib2.0-data (= 2.80.0-6ubuntu1), libglib2.0-dev (= 2.80.0-6ubuntu1), libglib2.0-dev-bin (= 2.80.0-6ubuntu1), libglvnd0 (= 1.7.0-1build1), libglx-dev (= 1.7.0-1build1), libglx-mesa0 (= 24.0.5-1ubuntu1), libglx0 (= 1.7.0-1build1), libgmp10 (= 2:6.3.0+dfsg-2ubuntu6), libgnutls30t64 (= 3.8.3-1.1ubuntu3), libgomp1 (= 14-20240412-0ubuntu1), libgpg-error0 (= 1.47-3build2), libgraphite2-3 (= 1.3.14-2build1), libgraphite2-dev (= 1.3.14-2build1), libgssapi-krb5-2 (= 1.20.1-6ubuntu2), libharfbuzz-cairo0 (= 8.3.0-2build2), libharfbuzz-dev (= 8.3.0-2build2), libharfbuzz-gobject0 (= 8.3.0-2build2), libharfbuzz-icu0 (= 8.3.0-2build2), libharfbuzz-subset0 (= 8.3.0-2build2), libharfbuzz0b (= 8.3.0-2build2), libhogweed6t64 (= 3.9.1-2.2build1), libibus-1.0-5 (= 1.5.29-2), libibus-1.0-dev (= 1.5.29-2), libice-dev (= 2:1.0.10-1build3), libice6 (= 2:1.0.10-1build3), libicu-dev (= 74.2-1ubuntu3), libicu74 (= 74.2-1ubuntu3), libidn2-0 (= 2.3.7-2build1), libinstpatch-1.0-2 (= 1.1.6-1build2), libinstpatch-dev (= 1.1.6-1build2), libisl23 (= 0.26-3build1), libjack-dev (= 1:0.126.0-2build3), libjack0 (= 1:0.126.0-2build3), libjansson4 (= 2.14-2build2), libjpeg-dev (= 8c-2ubuntu11), libjpeg-turbo8 (= 2.1.5-2ubuntu2), libjpeg-turbo8-dev (= 2.1.5-2ubuntu2), libjpeg8 (= 8c-2ubuntu11), libjpeg8-dev (= 8c-2ubuntu11), libk5crypto3 (= 1.20.1-6ubuntu2), libkeyutils1 (= 1.6.3-3build1), libkpathsea6 (= 2023.20230311.66589-9build3), libkrb5-3 (= 1.20.1-6ubuntu2), libkrb5support0 (= 1.20.1-6ubuntu2), libldap2 (= 2.6.7+dfsg-1~exp1ubuntu8), libllvm17t64 (= 1:17.0.6-9ubuntu1), liblz4-1 (= 1.9.4-1build1), liblzma5 (= 5.6.1+really5.4.5-1), libmagic-mgc (= 1:5.45-3build1), libmagic1t64 (= 1:5.45-3build1), libmd0 (= 1.1.0-2build1), libmodplug-dev (= 1:0.8.9.0-3build1), libmodplug1 (= 1:0.8.9.0-3build1), libmount-dev (= 2.39.3-9ubuntu6), libmount1 (= 2.39.3-9ubuntu6), libmp3lame0 (= 3.100-6build1), libmpc3 (= 1.3.1-1build1), libmpfr6 (= 4.2.1-1build1), libmpg123-0t64 (= 1.32.5-1ubuntu1), libmpg123-dev (= 1.32.5-1ubuntu1), libmxml-dev (= 3.3.1-1build1), libmxml1 (= 3.3.1-1build1), libncurses-dev (= 6.4+20240113-1ubuntu2), libncurses6 (= 6.4+20240113-1ubuntu2), libncursesw6 (= 6.4+20240113-1ubuntu2), libnettle8t64 (= 3.9.1-2.2build1), libnghttp2-14 (= 1.59.0-1build4), libogg-dev (= 1.3.5-3build1), libogg0 (= 1.3.5-3build1), libopenal-data (= 1:1.23.1-4build1), libopenal-dev (= 1:1.23.1-4build1), libopenal1 (= 1:1.23.1-4build1), libopus-dev (= 1.4-1build1), libopus0 (= 1.4-1build1), libopusfile-dev (= 0.12-4build3), libopusfile0 (= 0.12-4build3), libout123-0t64 (= 1.32.5-1ubuntu1), libp11-kit0 (= 0.25.3-4ubuntu2), libpam-modules (= 1.5.3-5ubuntu5), libpam-modules-bin (= 1.5.3-5ubuntu5), libpam-runtime (= 1.5.3-5ubuntu5), libpam0g (= 1.5.3-5ubuntu5), libpaper-utils (= 1.1.29build1), libpaper1 (= 1.1.29build1), libpciaccess-dev (= 0.17-3build1), libpciaccess0 (= 0.17-3build1), libpcre2-16-0 (= 10.42-4ubuntu2), libpcre2-32-0 (= 10.42-4ubuntu2), libpcre2-8-0 (= 10.42-4ubuntu2), libpcre2-dev (= 10.42-4ubuntu2), libpcre2-posix3 (= 10.42-4ubuntu2), libpdfbox-java (= 1:1.8.16-5), libperl5.38t64 (= 5.38.2-3.2build2), libpipeline1 (= 1.5.7-2), libpipewire-0.3-0t64 (= 1.0.5-1), libpipewire-0.3-dev (= 1.0.5-1), libpixman-1-0 (= 0.42.2-1build1), libpkgconf3 (= 1.8.1-2build1), libpng-dev (= 1.6.43-5build1), libpng16-16t64 (= 1.6.43-5build1), libpotrace0 (= 1.16-2build1), libpsl5t64 (= 0.21.2-1.1build1), libptexenc1 (= 2023.20230311.66589-9build3), libpthread-stubs0-dev (= 0.4-1build3), libpulse-dev (= 1:16.1+dfsg1-2ubuntu10), libpulse-mainloop-glib0 (= 1:16.1+dfsg1-2ubuntu10), libpulse0 (= 1:16.1+dfsg1-2ubuntu10), libpython3-stdlib (= 3.12.3-0ubuntu1), libpython3.12-minimal (= 3.12.3-1), libpython3.12-stdlib (= 3.12.3-1), libreadline-dev (= 8.2-4build1), libreadline8t64 (= 8.2-4build1), librtmp1 (= 2.4+20151223.gitfa8646d.1-2build7), libsamplerate0 (= 0.2.2-4build1), libsamplerate0-dev (= 0.2.2-4build1), libsasl2-2 (= 2.1.28+dfsg1-5ubuntu3), libsasl2-modules-db (= 2.1.28+dfsg1-5ubuntu3), libsdl2-2.0-0 (= 2.30.0+dfsg-1build3), libsdl2-dev (= 2.30.0+dfsg-1build3), libsdl2-mixer-2.0-0 (= 2.8.0+dfsg-1build3), libsdl2-mixer-dev (= 2.8.0+dfsg-1build3), libsdl2-ttf-2.0-0 (= 2.22.0+dfsg-1), libsdl2-ttf-dev (= 2.22.0+dfsg-1), libselinux1 (= 3.5-2ubuntu2), libselinux1-dev (= 3.5-2ubuntu2), libsensors-config (= 1:3.6.0-9build1), libsensors5 (= 1:3.6.0-9build1), libsepol-dev (= 3.5-2build1), libsepol2 (= 3.5-2build1), libsframe1 (= 2.42-4ubuntu2), libsm-dev (= 2:1.2.3-1build3), libsm6 (= 2:1.2.3-1build3), libsmartcols1 (= 2.39.3-9ubuntu6), libsndfile1 (= 1.2.2-1ubuntu5), libsndfile1-dev (= 1.2.2-1ubuntu5), libsndio-dev (= 1.9.0-0.3build3), libsndio7.0 (= 1.9.0-0.3build3), libspa-0.2-dev (= 1.0.5-1), libspa-0.2-modules (= 1.0.5-1), libsqlite3-0 (= 3.45.1-1ubuntu2), libssh-4 (= 0.10.6-2build2), libssl3t64 (= 3.0.13-0ubuntu3), libstdc++-13-dev (= 13.2.0-23ubuntu4), libstdc++6 (= 14-20240412-0ubuntu1), libsub-override-perl (= 0.10-1), libsyn123-0t64 (= 1.32.5-1ubuntu1), libsynctex2 (= 2023.20230311.66589-9build3), libsystemd-dev (= 255.4-1ubuntu8), libsystemd0 (= 255.4-1ubuntu8), libtasn1-6 (= 4.19.0-3build1), libteckit0 (= 2.5.12+ds1-1), libtexlua53-5 (= 2023.20230311.66589-9build3), libtheora-dev (= 1.1.1+dfsg.1-16.1build3), libtheora0 (= 1.1.1+dfsg.1-16.1build3), libtinfo6 (= 6.4+20240113-1ubuntu2), libtool (= 2.4.7-7build1), libubsan1 (= 14-20240412-0ubuntu1), libuchardet0 (= 0.0.8-1build1), libudev-dev (= 255.4-1ubuntu8), libudev1 (= 255.4-1ubuntu8), libunistring5 (= 1.1-2build1), libuuid1 (= 2.39.3-9ubuntu6), libvorbis-dev (= 1.3.7-1build3), libvorbis0a (= 1.3.7-1build3), libvorbisenc2 (= 1.3.7-1build3), libvorbisfile3 (= 1.3.7-1build3), libvulkan1 (= 1.3.275.0-1build1), libwayland-bin (= 1.22.0-2.1build1), libwayland-client0 (= 1.22.0-2.1build1), libwayland-cursor0 (= 1.22.0-2.1build1), libwayland-dev (= 1.22.0-2.1build1), libwayland-egl1 (= 1.22.0-2.1build1), libwayland-server0 (= 1.22.0-2.1build1), libwebrtc-audio-processing1 (= 0.3.1-0ubuntu6), libx11-6 (= 2:1.8.7-1build1), libx11-data (= 2:1.8.7-1build1), libx11-dev (= 2:1.8.7-1build1), libx11-xcb1 (= 2:1.8.7-1build1), libxau-dev (= 1:1.0.9-1build6), libxau6 (= 1:1.0.9-1build6), libxaw7 (= 2:1.0.14-1build2), libxcb-dri2-0 (= 1.15-1ubuntu2), libxcb-dri3-0 (= 1.15-1ubuntu2), libxcb-glx0 (= 1.15-1ubuntu2), libxcb-present0 (= 1.15-1ubuntu2), libxcb-randr0 (= 1.15-1ubuntu2), libxcb-render0 (= 1.15-1ubuntu2), libxcb-shm0 (= 1.15-1ubuntu2), libxcb-sync1 (= 1.15-1ubuntu2), libxcb-xfixes0 (= 1.15-1ubuntu2), libxcb1 (= 1.15-1ubuntu2), libxcb1-dev (= 1.15-1ubuntu2), libxcursor-dev (= 1:1.2.1-1build1), libxcursor1 (= 1:1.2.1-1build1), libxdmcp-dev (= 1:1.1.3-0ubuntu6), libxdmcp6 (= 1:1.1.3-0ubuntu6), libxext-dev (= 2:1.3.4-1build2), libxext6 (= 2:1.3.4-1build2), libxfixes-dev (= 1:6.0.0-2build1), libxfixes3 (= 1:6.0.0-2build1), libxi-dev (= 2:1.8.1-1build1), libxi6 (= 2:1.8.1-1build1), libxinerama-dev (= 2:1.1.4-3build1), libxinerama1 (= 2:1.1.4-3build1), libxkbcommon-dev (= 1.6.0-1build1), libxkbcommon0 (= 1.6.0-1build1), libxml2 (= 2.9.14+dfsg-1.3ubuntu3), libxml2-dev (= 2.9.14+dfsg-1.3ubuntu3), libxmu6 (= 2:1.1.3-3build2), libxpm4 (= 1:3.5.17-1build2), libxrandr-dev (= 2:1.5.2-2build1), libxrandr2 (= 2:1.5.2-2build1), libxrender-dev (= 1:0.9.10-1.1build1), libxrender1 (= 1:0.9.10-1.1build1), libxshmfence1 (= 1.3-1build5), libxss-dev (= 1:1.2.3-1build3), libxss1 (= 1:1.2.3-1build3), libxt-dev (= 1:1.2.1-1.2build1), libxt6t64 (= 1:1.2.1-1.2build1), libxv-dev (= 2:1.0.11-1.1build1), libxv1 (= 2:1.0.11-1.1build1), libxvidcore-dev (= 2:1.3.7-1build1), libxvidcore4 (= 2:1.3.7-1build1), libxxf86vm-dev (= 1:1.1.4-1build4), libxxf86vm1 (= 1:1.1.4-1build4), libzstd1 (= 1.5.5+dfsg2-2build1), libzzip-0-13t64 (= 0.13.72+dfsg.1-1.2build1), linux-libc-dev (= 6.8.0-31.31), login (= 1:4.13+dfsg1-4ubuntu3), lto-disabled-list (= 47), m4 (= 1.4.19-4build1), make (= 4.3-4.1build2), man-db (= 2.12.0-4build2), mawk (= 1.3.4.20240123-1build1), media-types (= 10.1.0), ncurses-base (= 6.4+20240113-1ubuntu2), ncurses-bin (= 6.4+20240113-1ubuntu2), netbase (= 6.4), patch (= 2.7.6-7build3), perl (= 5.38.2-3.2build2), perl-base (= 5.38.2-3.2build2), perl-modules-5.38 (= 5.38.2-3.2build2), pkgconf (= 1.8.1-2build1), pkgconf-bin (= 1.8.1-2build1), po-debconf (= 1.0.21+nmu1), preview-latex-style (= 13.2-1), python3 (= 3.12.3-0ubuntu1), python3-minimal (= 3.12.3-0ubuntu1), python3-packaging (= 24.0-1), python3.12 (= 3.12.3-1), python3.12-minimal (= 3.12.3-1), readline-common (= 8.2-4build1), rpcsvc-proto (= 1.4.2-0ubuntu7), sed (= 4.9-2build1), sensible-utils (= 0.0.22), sgml-base (= 1.31), sysvinit-utils (= 3.08-6ubuntu3), t1utils (= 1.41-4build3), tar (= 1.35+dfsg-3build1), tex-common (= 6.18), texlive-base (= 2023.20240207-1), texlive-binaries (= 2023.20230311.66589-9build3), texlive-latex-base (= 2023.20240207-1), texlive-latex-extra (= 2023.20240207-1), texlive-latex-recommended (= 2023.20240207-1), texlive-pictures (= 2023.20240207-1), timgm6mb-soundfont (= 1.3-5), tzdata (= 2024a-2ubuntu1), ucf (= 3.0043+nmu1), util-linux (= 2.39.3-9ubuntu6), uuid-dev (= 2.39.3-9ubuntu6), x11-common (= 1:7.7+23ubuntu3), x11proto-dev (= 2023.2-1), xdg-utils (= 1.1.3-4.1ubuntu3), xkb-data (= 2.41-2ubuntu1), xml-core (= 0.19), xorg-sgml-doctools (= 1:1.11-1.1), xtrans-dev (= 1.4.0-1), xz-utils (= 5.6.1+really5.4.5-1), zip (= 3.0-13build1), zlib1g (= 1:1.3.dfsg-3.1ubuntu2), zlib1g-dev (= 1:1.3.dfsg-3.1ubuntu2) Environment: DEB_BUILD_OPTIONS="noautodbgsym nocheck parallel=4" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1711960172" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ ufoai-server_2.5-7build3_riscv64.deb ------------------------------------ new Debian package, version 2.0. size 475678 bytes: control archive=1919 bytes. 29 bytes, 1 lines conffiles 938 bytes, 19 lines control 570 bytes, 8 lines md5sums 1937 bytes, 55 lines * postinst #!/bin/sh 585 bytes, 23 lines * postrm #!/bin/sh 264 bytes, 7 lines * prerm #!/bin/sh Package: ufoai-server Source: ufoai Version: 2.5-7build3 Architecture: riscv64 Maintainer: Ubuntu Developers Installed-Size: 871 Depends: adduser, ufoai-common (>= 2.5-7build3), ufoai-maps, libc6 (>= 2.38), libcurl3t64-gnutls (>= 7.16.2), libgcc-s1 (>= 3.0), libsdl2-2.0-0 (>= 2.0.12), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4) Suggests: ufoai Section: games Priority: optional Homepage: https://ufoai.org Description: UFO: Alien Invasion -- dedicated server It is the year 2084. You control a secret organisation charged with defending Earth from a brutal alien enemy. Build up your bases, prepare your team, and dive head-first into the fast and flowing turn-based combat. . This package contains the dedicated game server for UFO: Alien Invasion. It is only needed if you want to setup a permanent game server. Original-Maintainer: Debian Games Team drwxr-xr-x root/root 0 2024-04-01 08:29 ./ drwxr-xr-x root/root 0 2024-04-01 08:29 ./etc/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./etc/ufoai-server/ -rw-r--r-- root/root 228 2023-03-01 22:20 ./etc/ufoai-server/server.cfg drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/games/ -rwxr-xr-x root/root 975 2023-03-01 22:20 ./usr/games/ufoai-server drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/lib/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/lib/systemd/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/lib/systemd/system/ -rw-r--r-- root/root 353 2023-03-01 22:20 ./usr/lib/systemd/system/ufoai-server.service drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/lib/ufoai-server/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/lib/ufoai-server/base/ lrwxrwxrwx root/root 0 2024-04-01 08:29 ./usr/lib/ufoai-server/base/0base.pk3 -> ../../../share/games/ufoai/base/0base.pk3 lrwxrwxrwx root/root 0 2024-04-01 08:29 ./usr/lib/ufoai-server/base/0maps.pk3 -> ../../../share/games/ufoai/base/0maps.pk3 lrwxrwxrwx root/root 0 2024-04-01 08:29 ./usr/lib/ufoai-server/base/0ufos.pk3 -> ../../../share/games/ufoai/base/0ufos.pk3 lrwxrwxrwx root/root 0 2024-04-01 08:29 ./usr/lib/ufoai-server/base/debian_server.cfg -> /etc/ufoai-server/server.cfg -rwxr-xr-x root/root 846128 2024-04-01 08:29 ./usr/lib/ufoai-server/ufoded drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/doc/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/doc/ufoai-server/ -rw-r--r-- root/root 2019 2023-03-01 22:20 ./usr/share/doc/ufoai-server/README.Debian -rw-r--r-- root/root 781 2024-04-01 08:29 ./usr/share/doc/ufoai-server/changelog.Debian.gz -rw-r--r-- root/root 9091 2023-03-01 22:20 ./usr/share/doc/ufoai-server/copyright drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/lintian/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 159 2023-03-01 22:20 ./usr/share/lintian/overrides/ufoai-server drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/man/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/man/man6/ -rw-r--r-- root/root 584 2024-04-01 08:29 ./usr/share/man/man6/ufoai-server.6.gz ufoai-tools_2.5-7build3_riscv64.deb ----------------------------------- new Debian package, version 2.0. size 276884 bytes: control archive=990 bytes. 884 bytes, 22 lines control 665 bytes, 10 lines md5sums Package: ufoai-tools Source: ufoai Version: 2.5-7build3 Architecture: riscv64 Maintainer: Ubuntu Developers Installed-Size: 613 Depends: libc6 (>= 2.38), libgcc-s1 (>= 3.0), libjpeg8 (>= 8c), libpng16-16t64 (>= 1.6.2), libsdl2-2.0-0 (>= 2.0.12), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4) Suggests: bash-completion, ufoai Section: graphics Priority: optional Homepage: https://ufoai.org Description: UFO: Alien Invasion -- developer tools It is the year 2084. You control a secret organisation charged with defending Earth from a brutal alien enemy. Build up your bases, prepare your team, and dive head-first into the fast and flowing turn-based combat. . This package contains developer tools for UFO: Alien Invasion. . * ufo2map * ufomodel * ufoslicer Original-Maintainer: Debian Games Team drwxr-xr-x root/root 0 2024-04-01 08:29 ./ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/bin/ -rwxr-xr-x root/root 330096 2024-04-01 08:29 ./usr/bin/ufo2map -rwxr-xr-x root/root 158048 2024-04-01 08:29 ./usr/bin/ufomodel -rwxr-xr-x root/root 108976 2024-04-01 08:29 ./usr/bin/ufoslicer drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/bash-completion/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/bash-completion/completions/ -rw-r--r-- root/root 565 2012-03-18 12:29 ./usr/share/bash-completion/completions/ufo2map -rw-r--r-- root/root 444 2010-04-30 15:55 ./usr/share/bash-completion/completions/ufomodel drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/doc/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/doc/ufoai-tools/ -rw-r--r-- root/root 783 2024-04-01 08:29 ./usr/share/doc/ufoai-tools/changelog.Debian.gz -rw-r--r-- root/root 9091 2023-03-01 22:20 ./usr/share/doc/ufoai-tools/copyright drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/man/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/man/man1/ -rw-r--r-- root/root 2193 2024-04-01 08:29 ./usr/share/man/man1/ufo2map.1.gz -rw-r--r-- root/root 549 2024-04-01 08:29 ./usr/share/man/man1/ufomodel.1.gz -rw-r--r-- root/root 498 2024-04-01 08:29 ./usr/share/man/man1/ufoslicer.1.gz ufoai_2.5-7build3_riscv64.deb ----------------------------- new Debian package, version 2.0. size 1293286 bytes: control archive=1685 bytes. 2555 bytes, 40 lines control 375 bytes, 6 lines md5sums Package: ufoai Version: 2.5-7build3 Architecture: riscv64 Maintainer: Ubuntu Developers Installed-Size: 2501 Depends: fonts-dejavu, ufoai-common (>= 2.5-7build3), ufoai-data, ufoai-maps, ufoai-misc (>= 2.5-7build3), ufoai-sound, ufoai-textures, libc6 (>= 2.38), libcurl3t64-gnutls (>= 7.16.2), libgcc-s1 (>= 3.0), libgl1, libjpeg8 (>= 8c), libmxml1 (>= 3.3.1), libogg0 (>= 1.0rc3), libpng16-16t64 (>= 1.6.2), libsdl2-2.0-0 (>= 2.0.12), libsdl2-mixer-2.0-0 (>= 2.6.0), libsdl2-ttf-2.0-0 (>= 2.0.15), libstdc++6 (>= 5.2), libtheora0 (>= 0.0.0.alpha7.dfsg), libvorbis0a (>= 1.1.2), libxvidcore4 (>= 1.2.2), zlib1g (>= 1:1.2.0) Recommends: ufoai-music Suggests: ufoai-server Section: games Priority: optional Homepage: https://ufoai.org Description: UFO: Alien Invasion -- build your team and stop the aliens UFO: Alien Invasion is a squad-based tactical strategy game in the tradition of the old X-COM PC games. It combines military realism with hard science-fiction and the weirdness of an alien invasion. The carefully constructed turn-based system gives you pin-point control of your squad while maintaining a sense of pace and danger. . UFO:AI has two main modes of play: Geoscape mode and Tactical mode. . In Geoscape mode you manage the activities and finances of PHALANX, a secret organisation charged with defending Earth from a brutal alien enemy. You control bases, installations, aircraft and squads of armed-response troops. You will research new technologies and use their results in battle against the aliens. You can build, buy and produce anything you like, as long as your technology level and your budget will allow it. Easy-to-use time buttons make it possible to control the passage of time. . In Tactical mode the game is about taking command of your team in various missions to combat the aliens wherever they might appear. Tactical mode uses a turn-based system, where your team and the aliens take turns to make moves. You can order your troops around, fire their weapons, throw grenades and use other equipment. All actions require Time Units to perform. Once a soldier is out of Time Units, he or she can't do anything more until the next turn. Your mission objectives will vary for each mission and there are many to perform as the aliens' terrifying plot unfolds. You'll have to watch your back, be quick on your feet and take the fight to them. . If you don't, humanity is doomed. Original-Maintainer: Debian Games Team drwxr-xr-x root/root 0 2024-04-01 08:29 ./ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/games/ -rwxr-xr-x root/root 1070 2023-03-01 22:20 ./usr/games/ufoai drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/lib/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/lib/ufoai/ lrwxrwxrwx root/root 0 2024-04-01 08:29 ./usr/lib/ufoai/base -> ../../share/games/ufoai/base -rwxr-xr-x root/root 2526416 2024-04-01 08:29 ./usr/lib/ufoai/ufo drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/applications/ -rw-r--r-- root/root 365 2023-03-01 22:20 ./usr/share/applications/ufoai.desktop drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/doc/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/doc/ufoai/ -rw-r--r-- root/root 779 2024-04-01 08:29 ./usr/share/doc/ufoai/changelog.Debian.gz -rw-r--r-- root/root 9091 2023-03-01 22:20 ./usr/share/doc/ufoai/copyright lrwxrwxrwx root/root 0 2024-04-01 08:29 ./usr/share/doc/ufoai/ufo-manual_EN.pdf -> ../ufoai-misc/ufo-manual_EN.pdf drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/games/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/games/ufoai/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/games/ufoai/base/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/games/ufoai/base/media/ lrwxrwxrwx root/root 0 2024-04-01 08:29 ./usr/share/games/ufoai/base/media/DejaVuSans.ttf -> ../../../../fonts/truetype/dejavu/DejaVuSans.ttf drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/man/ drwxr-xr-x root/root 0 2024-04-01 08:29 ./usr/share/man/man6/ -rw-r--r-- root/root 909 2024-04-01 08:29 ./usr/share/man/man6/ufoai.6.gz +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: riscv64 Build Type: any Build-Space: 504944 Build-Time: 13476 Distribution: noble Host Architecture: riscv64 Install-Time: 1601 Job: ufoai_2.5-7build3.dsc Machine Architecture: riscv64 Package: ufoai Package-Time: 15121 Source-Version: 2.5-7build3 Space: 504944 Status: successful Version: 2.5-7build3 -------------------------------------------------------------------------------- Finished at 2024-05-15T10:28:18Z Build needed 04:12:01, 504944k disk space RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=noble --arch=riscv64 PACKAGEBUILD-28273436 Scanning for processes to kill in build PACKAGEBUILD-28273436